private void OnCompleteFile(string file) { CompletedFileHandler completedFile = this.CompletedFile; if (completedFile != null) { ScanEventArgs e = new ScanEventArgs(file); completedFile(this, e); this.alive_ = e.ContinueRunning; } }
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; }
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; } }