internal WithParameterOptions(string parameterName, object value, ComponentRegistration componentRegistration)
     : base(componentRegistration)
 {
     ComponentRegistration.Parameters[parameterName] = value;
 }
Пример #2
0
 internal LifetimeOptions(ComponentRegistration componentRegistration) : base(componentRegistration)
 {
 }
Пример #3
0
 internal RegisterOptions(ComponentRegistration componentRegistration) : base(componentRegistration)
 {
 }
 internal ImplementedByOptions(ComponentRegistration componentRegistration) : base(componentRegistration)
 {
     ComponentRegistration.ConcreteType = typeof(TImplementation);
 }
 internal WithFactoryMethodOptions(ComponentRegistration componentRegistration, Func <TImplementation> factoryMethod)
     : base(componentRegistration)
 {
     ComponentRegistration.FactoryMethod = factoryMethod;
 }