To improve usability, chaining on containers has to expanded.
The context root from the MultiContainer example is a bad example of how chaining is currently being treated:
var containerOne = this.AddContainer<InjectionContainer>("container1");
containerOne.RegisterExtension<CommanderContainerExtension>()
.Bind<ITestInterface>().ToNamespace("Assets.Test.MultiContainer.Example");
containerOne.RegisterCommands("Assets.Test.MultiContainer.Command");
It requires a new variable just because chaining isn't correctly standardized.
To improve usability, chaining on containers has to expanded.
The context root from the MultiContainer example is a bad example of how chaining is currently being treated:
It requires a new variable just because chaining isn't correctly standardized.