예제 #1
0
        public FileEventListener(IFileMonitor fileMonitor, IOnChangeTaskDispatcher taskDispatcher, IGooseActionFactory actionFactory, IFileChangeSubscriber fileChangeSubscriber)
        {
            this.fileMonitor = fileMonitor;
            this.taskDispatcher = taskDispatcher;
            this.actionFactory = actionFactory;

            fileChangeSubscriber.Attach(this);
        }
예제 #2
0
 public FileMonitor(ISolutionFilesService solutionFilesService, IGlobMatcher globMatcher, IFileChangeSubscriber fileChangeSubscriber, IOutputService outputService)
 {
     this.solutionFilesService = solutionFilesService;
     this.globMatcher = globMatcher;
     this.fileChangeSubscriber = fileChangeSubscriber;
     this.outputService = outputService;
     this.monitoredFilesField = new ConcurrentDictionary<string, MonitoredFile>();
     this.monitoredProjectsField = new ConcurrentDictionary<string, MonitoredFile>();
 }
 public FakeSolutionTestContext(ISolutionFilesService solutionFilesService, IFileChangeSubscriber fileChangeSubscriber)
 {
     this.solutionFilesService = solutionFilesService;
     this.fileChangeSubscriber = fileChangeSubscriber;
     this.projects = new List<ISolutionProject>();
 }
예제 #4
0
 public FakeProjectContext(ISolutionProject project, IFileChangeSubscriber fileChangeSubscriber)
 {
     this.project = project;
     this.fileChangeSubscriber = fileChangeSubscriber;
 }