This will register a new injection DSL namespace called ortus that maps to that instantiation component path.model.dsl.OrtusBuilder
. Here is a very simple DSL Builder:
As you can see from the sample, creating your own DSL builder is fairly easy. The benefits of a custom DSL builder is that you can very easily create and extend the injection DSL language to your own benefit and if you are funky enough, override the behavior of the internal DSL Namespaces.