public AbstractionsCollection(IImplementationTypesCollection implementationTypesCollection, IImplementationCache implementationCache) { this.implementationTypesCollection = implementationTypesCollection; this.implementationCache = implementationCache; valueFactory = ValueFactory; }
public AbstractionConfigurator(IAbstractionConfigurationCollection abstractionConfigurationCollection, IClassWrapperCreator classWrapperCreator, IImplementationConfigurationCache implementationConfigurationCache, IImplementationCache implementationCache) { worker = new AbstractionConfigurator(typeof(T), abstractionConfigurationCollection, classWrapperCreator, implementationConfigurationCache, implementationCache); }
public Abstraction(Type[] implementationTypes, IImplementationCache implementationCache) { implementations = new IImplementation[implementationTypes.Length]; for (int i = 0; i < implementationTypes.Length; i++) { implementations[i] = implementationCache.GetOrCreate(implementationTypes[i]); } }
public AbstractionConfigurator(Type abstractionType, IAbstractionConfigurationCollection abstractionConfigurationCollection, IClassWrapperCreator classWrapperCreator, IImplementationConfigurationCache implementationConfigurationCache, IImplementationCache implementationCache) { this.abstractionType = abstractionType; this.abstractionConfigurationCollection = abstractionConfigurationCollection; this.classWrapperCreator = classWrapperCreator; this.implementationConfigurationCache = implementationConfigurationCache; this.implementationCache = implementationCache; }