Esempio n. 1
0
 public IoCFactory(IIoCRegistrator registrator, ITypeProvider provider)
 {
     _registrator   = registrator;
     _provider      = provider;
     _typeFactories = new Dictionary <Type, IInstanceFactory>();
 }
 public IoCRegistrationConfigurator(IIoCRegistrator registrator, IoCRegistration <T> registration)
 {
     _registrator  = registrator;
     _registration = registration;
 }
Esempio n. 3
0
 public IoCContainer(ITypeProvider provider)
 {
     _registrator   = this;
     _registrations = new Dictionary <Type, IIoCRegistration>();
     _factory       = new IoCFactory(_registrator, provider);
 }