Exemple #1
0
 public DiContainer()
 {
     mapping         = new TypeMapping();
     injector        = new Injector(mapping);
     commandInjector = new CommandInjector(this, injector);
     Bind <DiContainer>().ToInstance(this);
 }
Exemple #2
0
 public void ExecuteAfterBindings(IInjectionBinder injector, ICommandInjector commandInjector)
 {
     InjectorBinder = injector;
     CommandBinder  = commandInjector;
     ExecuteAfterBindings();
 }