Exemple #1
0
 private void TearDownWatcher()
 {
     if (watcher != null)
     {
         watcher.EventRecorded -= Watcher_EventRecorded;
         watcher.Enabled        = false;
         watcher = null;
     }
 }
Exemple #2
0
 private void SetupWatcher(TaskFolder tf)
 {
     if (tf != null)
     {
         watcher = new TaskEventWatcher(tf)
         {
             SynchronizingObject = this
         };
         watcher.EventRecorded += Watcher_EventRecorded;
         watcher.Enabled        = true;
     }
 }
 internal EventFilter([NotNull] TaskEventWatcher parent)
 {
     this.parent = parent;
 }