public AbstractionConfigurator(IAbstractionConfigurationCollection abstractionConfigurationCollection, IClassWrapperCreator classWrapperCreator, IImplementationConfigurationCache implementationConfigurationCache, IImplementationCache implementationCache) { worker = new AbstractionConfigurator(typeof(T), abstractionConfigurationCollection, classWrapperCreator, implementationConfigurationCache, implementationCache); }
public AutoAbstractionConfigurationFactory(ITypesHelper typesHelper, IAbstractionsCollection abstractionsCollection, IImplementationConfigurationCache implConfigCache) { this.typesHelper = typesHelper; this.abstractionsCollection = abstractionsCollection; this.implConfigCache = implConfigCache; }
public ContainerConfigurator(IAbstractionConfigurationCollection abstractionConfigurationCollection, IClassWrapperCreator classWrapperCreator, IImplementationConfigurationCache implementationConfigurationCache, IImplementationCache implementationCache) { this.abstractionConfigurationCollection = abstractionConfigurationCollection; this.classWrapperCreator = classWrapperCreator; this.implementationConfigurationCache = implementationConfigurationCache; this.implementationCache = implementationCache; }
public AutoAbstractionConfiguration(Type abstractionType, IAbstractionsCollection abstractionsCollection, IImplementationConfigurationCache implementationConfigurationCache) { var abstraction = abstractionsCollection.Get(abstractionType); IImplementation[] implementations = abstraction.GetImplementations(); implementationConfigurations = new IImplementationConfiguration[implementations.Length]; for (int i = 0; i < implementations.Length; i++) { implementationConfigurations[i] = implementationConfigurationCache.GetOrCreate(implementations[i]); } }