private void RaiseDiagnosticEvent(FileSystemWalkerDiagnostic diagnostic) { EventHandler <FileSystemWalkerDiagnosticEventArgs> eventListeners = this.DiagnosticDetected; if (null != eventListeners) { FileSystemWalkerDiagnosticEventArgs eventArgs = new FileSystemWalkerDiagnosticEventArgs(diagnostic); eventListeners(this, eventArgs); } }
internal FileSystemWalkerDiagnosticEventArgs(FileSystemWalkerDiagnostic diagnostic) { m_diagnostic = diagnostic; }