public virtual void OnFileMatched(EntryEventArgs e) { }
public override void OnFileVerified(EntryEventArgs e) { WriteInformation(String.Format("File verified. Path: \"{0}\".", e.Path)); }
public virtual void OnEntryDeleted(EntryEventArgs e) { }
public override void OnDirectoryUpdated(EntryEventArgs e) { WriteWarning(String.Format("Directory updated. Path: \"{0}\".", e.Path)); }
public override void OnFileUpdated(EntryEventArgs e) { WriteWarning(String.Format("File updated. Path: \"{0}\".", e.Path)); }
public virtual void OnFileVerified(EntryEventArgs e) { }
public virtual void OnFileUpdated(EntryEventArgs e) { }
public virtual void OnDirectoryUpdated(EntryEventArgs e) { }
public override void OnEntryDeleted(EntryEventArgs e) { WriteWarning(String.Format("Entry deleted. Path: \"{0}\".", e.Path)); }
private static void RaiseEntryEvent(EntryEventHandler eventHandler, string path) { EntryEventHandler temp = eventHandler; if (temp != null) { EntryEventArgs eventArgs = new EntryEventArgs(path); temp(eventArgs); } }