public FactorySubContainerBinderBase( DiContainer bindContainer, BindInfo bindInfo, FactoryBindInfo factoryBindInfo, object subIdentifier) { FactoryBindInfo = factoryBindInfo; SubIdentifier = subIdentifier; BindInfo = bindInfo; BindContainer = bindContainer; // Reset so we get errors if we end here factoryBindInfo.ProviderFunc = null; }
public FactoryFromBinderBase( DiContainer bindContainer, Type contractType, BindInfo bindInfo, FactoryBindInfo factoryBindInfo) : base(bindInfo) { FactoryBindInfo = factoryBindInfo; BindContainer = bindContainer; ContractType = contractType; factoryBindInfo.ProviderFunc = (container) => new TransientProvider( ContractType, container, BindInfo.Arguments, BindInfo.ContextInfo, BindInfo.ConcreteIdentifier, BindInfo.InstantiatedCallback); }
public FactoryArgumentsToChoiceBinder( DiContainer bindContainer, BindInfo bindInfo, FactoryBindInfo factoryBindInfo) : base(bindContainer, bindInfo, factoryBindInfo) { }
public FactorySubContainerBinder( DiContainer bindContainer, BindInfo bindInfo, FactoryBindInfo factoryBindInfo, object subIdentifier) : base(bindContainer, bindInfo, factoryBindInfo, subIdentifier) { }
public FactoryFromBinderUntyped( DiContainer bindContainer, Type contractType, BindInfo bindInfo, FactoryBindInfo factoryBindInfo) : base(bindContainer, contractType, bindInfo, factoryBindInfo) { }
public FactoryFromBinder( DiContainer container, BindInfo bindInfo, FactoryBindInfo factoryBindInfo) : base(container, typeof(TContract), bindInfo, factoryBindInfo) { }
public FactoryToChoiceBinder( DiContainer container, BindInfo bindInfo, FactoryBindInfo factoryBindInfo) : base(container, bindInfo, factoryBindInfo) { }