public DirectorySearchHandler(IProgresNotifier progresNotifier) { this.NewSearchEvent = new ManualResetEvent(false); this.SearchFinishedEvent = new ManualResetEvent(false); this.error = new Subject <string>(); this.progresNotifier = progresNotifier; }
public ProgresNotifierViewModel(IProgresNotifier progresNotifier) { this.Tasks = Enumerable.Empty <string>(); this.subsribtionToProgressNotifier = progresNotifier.Subscribe(tasks => { this.Tasks = tasks; this.RaisePropertyChanged("Tasks"); this.RaisePropertyChanged("Visibility"); }); }
public SeralizationHandler(IDirectorySearchHandler searchHandler, IProgresNotifier progresNotifier, ISavePathProvider savePathProvider) { this.progresNotifier = progresNotifier; this.searchHandler = searchHandler; this.savePathProvider = savePathProvider; }