protected void NotifyDirectoryListeners(DirectoryEventArgs objDirectoryEventArgs) { if (null != directory_event) { directory_event(this, objDirectoryEventArgs); } }
public void MyDirectoryEventHandler(object source, DirectoryEventArgs objEventArgs) { Console.WriteLine("EdirEventsCallback::MyDirectoryEventHandler Event classification = {0}", objEventArgs.EventClassification); Console.WriteLine(QUIT_PROMPT); }
protected void NotifyDirectoryListeners(DirectoryEventArgs objDirectoryEventArgs) { directory_event?.Invoke(this, objDirectoryEventArgs); }