public static void RaiseAddedOrUpdated( this IFileSystemChangeMonitor monitor, string path) { var e = new FileSystemChangedEvent { Path = path, Type = FileSystemChangedEventType.AddedOrUpdated }; monitor.Changed(e); }
public static void RaiseRenamed( this IFileSystemChangeMonitor monitor, string path, string newPath) { var e = new FileSystemChangedEvent { Path = path, NewPath = newPath, Type = FileSystemChangedEventType.Renamed }; monitor.Changed(e); }