private void OnCompleteFile(string file)
 {
     CompletedFileHandler completedFile = this.CompletedFile;
     if (completedFile != null)
     {
         ScanEventArgs e = new ScanEventArgs(file);
         completedFile(this, e);
         this.alive_ = e.ContinueRunning;
     }
 }
Beispiel #2
0
 public bool OnProcessFile(string file)
 {
     bool continueRunning = true;
     ProcessFileHandler processFile = this.ProcessFile;
     if (processFile != null)
     {
         ScanEventArgs e = new ScanEventArgs(file);
         processFile(this, e);
         continueRunning = e.ContinueRunning;
     }
     return continueRunning;
 }
Beispiel #3
0
 public bool OnCompletedFile(string file)
 {
     bool continueRunning = true;
     CompletedFileHandler completedFile = this.CompletedFile;
     if (completedFile != null)
     {
         ScanEventArgs e = new ScanEventArgs(file);
         completedFile(this, e);
         continueRunning = e.ContinueRunning;
     }
     return continueRunning;
 }
 private void OnProcessFile(string file)
 {
     ProcessFileHandler processFile = this.ProcessFile;
     if (processFile != null)
     {
         ScanEventArgs e = new ScanEventArgs(file);
         processFile(this, e);
         this.alive_ = e.ContinueRunning;
     }
 }