Example #1
0
        private void RaiseDiagnosticEvent(FileSystemWalkerDiagnostic diagnostic)
        {
            EventHandler <FileSystemWalkerDiagnosticEventArgs> eventListeners = this.DiagnosticDetected;

            if (null != eventListeners)
            {
                FileSystemWalkerDiagnosticEventArgs eventArgs = new FileSystemWalkerDiagnosticEventArgs(diagnostic);
                eventListeners(this, eventArgs);
            }
        }
Example #2
0
 internal FileSystemWalkerDiagnosticEventArgs(FileSystemWalkerDiagnostic diagnostic)
 {
     m_diagnostic = diagnostic;
 }