public FileEventListener(IFileMonitor fileMonitor, IOnChangeTaskDispatcher taskDispatcher, IGooseActionFactory actionFactory, IFileChangeSubscriber fileChangeSubscriber) { this.fileMonitor = fileMonitor; this.taskDispatcher = taskDispatcher; this.actionFactory = actionFactory; fileChangeSubscriber.Attach(this); }
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>(); }
public FakeProjectContext(ISolutionProject project, IFileChangeSubscriber fileChangeSubscriber) { this.project = project; this.fileChangeSubscriber = fileChangeSubscriber; }