FileSystemWatcherEventArgs(FileSystemWatcherObject target, FileSystemWatcherObject oldTargetStat, ActionType actionType) { date = DateTime.Now; Target = target; OldTargetStat = oldTargetStat; ActionType = actionType; }
public static FileSystemWatcherEventArgs CreateContentChangedEvent(FileSystemWatcherObject target) { return(new FileSystemWatcherEventArgs(target, ActionType.ContentChanged)); }
public static FileSystemWatcherEventArgs CreateRenamedEvent(FileSystemWatcherObject target, FileSystemWatcherObject oldTargetStat) { return(new FileSystemWatcherEventArgs(target, oldTargetStat, ActionType.Renamed)); }
public static FileSystemWatcherEventArgs CreateDeletedEvent(FileSystemWatcherObject target) { return(new FileSystemWatcherEventArgs(target, ActionType.Deleted)); }