public Executor(DependencyManager dependencyManager, IndexingActivityHistoryController activityHistory,
                 IndexManager indexManager)
 {
     _dependencyManager = dependencyManager;
     _activityHistory   = activityHistory;
     _indexManager      = indexManager;
 }
        public DistributedIndexingActivityQueue(IndexManager indexManager)
        {
            _terminationHistory = new TerminationHistory();
            _activityHistory    = new IndexingActivityHistoryController(this);
            _dependencyManager  = new DependencyManager(_terminationHistory, _activityHistory);
            _serializer         = new Serializer(this, _dependencyManager, _terminationHistory, _activityHistory, indexManager);
            var executor = new Executor(_dependencyManager, _activityHistory, indexManager);

            _dependencyManager.SetDependencies(_serializer, executor);
        }
 internal Serializer(DistributedIndexingActivityQueue activityQueue,
                     DependencyManager dependencyManager,
                     TerminationHistory terminationHistory,
                     IndexingActivityHistoryController activityHistory
                     , IndexManager indexManager)
 {
     _activityQueue      = activityQueue;
     _dependencyManager  = dependencyManager;
     _terminationHistory = terminationHistory;
     _activityHistory    = activityHistory;
     _indexManager       = indexManager;
 }
 internal DependencyManager(TerminationHistory terminationHistory, IndexingActivityHistoryController activityHistory)
 {
     _terminationHistory = terminationHistory;
     _activityHistory    = activityHistory;
 }