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