public AttributesSettingsProvider( AttributesSettingsOptionManager optionManager, IEnumerable <IAttributePuller> pullers, IEnumerable <IAttributeIndexer> indexers ) : base(optionManager) { this.pullers = pullers; this.indexers = indexers; }
public AttributesSettingsProvider( AttributesSettingsOptionManager optionManager, EntityRepository entityRepository, AttributeRepository attributeRepository, ConnectionRepository connectionRepository, IndexerManager indexerManager, IEnumerable <IAttributePuller> pullers, IEnumerable <IAttributeIndexer> indexers, ResolverFactory resolverFactory ) : base(optionManager) { this.entityRepository = entityRepository; this.attributeRepository = attributeRepository; this.connectionRepository = connectionRepository; this.indexerManager = indexerManager; this.pullers = pullers; this.indexers = indexers; this.resolverFactory = resolverFactory; this.indexerManager.OnReport(s => this.logger.Information(s)); this.logger = resolverFactory.Resolve <ILogger>("SyncService"); this.errorLogger = resolverFactory.Resolve <ILogger>("Error"); }