Ejemplo n.º 1
0
 FileSystemWatcherEventArgs(FileSystemWatcherObject target, FileSystemWatcherObject oldTargetStat, ActionType actionType)
 {
     date          = DateTime.Now;
     Target        = target;
     OldTargetStat = oldTargetStat;
     ActionType    = actionType;
 }
Ejemplo n.º 2
0
 public static FileSystemWatcherEventArgs CreateContentChangedEvent(FileSystemWatcherObject target)
 {
     return(new FileSystemWatcherEventArgs(target, ActionType.ContentChanged));
 }
Ejemplo n.º 3
0
 public static FileSystemWatcherEventArgs CreateRenamedEvent(FileSystemWatcherObject target, FileSystemWatcherObject oldTargetStat)
 {
     return(new FileSystemWatcherEventArgs(target, oldTargetStat, ActionType.Renamed));
 }
Ejemplo n.º 4
0
 public static FileSystemWatcherEventArgs CreateDeletedEvent(FileSystemWatcherObject target)
 {
     return(new FileSystemWatcherEventArgs(target, ActionType.Deleted));
 }