private DefaultConfiguration(Container container) { _constructorSelector = new ConstructorSelector(); _dependencyResolver = new DependencyResolver(this); _registrationStorage = new RegistrationStorage(); _typeActivator = new ExpressionActivator(container, _constructorSelector); }
public Container(string name) { this.name = name; this.activator = new DefaultActivator(); this.registration = new ConcurrentStorage(this.activator); }
public Container() : this("Container") { this.activator = new DefaultActivator(); this.registration = new ConcurrentStorage(this.activator); }
IConfigurable IConfigurable.SetRegistrationStorage(IRegistrationStorage registrationStorage) { _registrationStorage = registrationStorage; return this; }
IConfigurable IConfigurable.SetRegistrationStorage(IRegistrationStorage registrationStorage) { _registrationStorage = registrationStorage; return(this); }