示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WatcherEventArgs"/> class.
 /// </summary>
 /// <param name="watcher">The watcher.</param>
 /// <param name="arguments">The arguments.</param>
 /// <param name="argumentType">Type of the argument.</param>
 /// <param name="filter">The filter.</param>
 public WatcherEventArgs(FileSystemWatcher watcher,
                         object arguments,
                         FileWatcherArgumentTypes argumentType,
                         NotifyFilters filter)
     : base(watcher, arguments, argumentType, filter)
 {
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WatcherEventArgs"/> class.
 /// </summary>
 /// <param name="watcher">The watcher.</param>
 /// <param name="arguments">The arguments.</param>
 /// <param name="argumentType">Type of the argument.</param>
 protected BaseEventArgs(TWatcher watcher,
                         object arguments,
                         FileWatcherArgumentTypes argumentType)
 {
     Watcher      = watcher;
     Arguments    = arguments;
     ArgumentType = argumentType;
     Filter       = NotifyFilters.Attributes;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WatcherEventArgs"/> class.
 /// </summary>
 /// <param name="watcher">The watcher.</param>
 /// <param name="arguments">The arguments.</param>
 /// <param name="argumentType">Type of the argument.</param>
 /// <param name="filter">The filter.</param>
 protected BaseEventArgs(TWatcher watcher,
                         object arguments,
                         FileWatcherArgumentTypes argumentType,
                         NotifyFilters filter)
 {
     Watcher      = watcher;
     Arguments    = arguments;
     ArgumentType = argumentType;
     Filter       = filter;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WatcherEventArgs"/> class.
 /// </summary>
 /// <param name="watcher">The watcher.</param>
 /// <param name="arguments">The arguments.</param>
 /// <param name="argumentType">Type of the argument.</param>
 public WatcherEventArgs(FileSystemWatcher watcher,
                         object arguments,
                         FileWatcherArgumentTypes argumentType)
     : base(watcher, arguments, argumentType)
 {
 }