using System; namespace System.IO { /// Provides data for the directory events: , , . /// 2 // Token: 0x02000115 RID: 277 public class FileSystemEventArgs : EventArgs { /// Initializes a new instance of the class. /// One of the values, which represents the kind of change detected in the file system. /// The root directory of the affected file or directory. /// The name of the affected file or directory. // Token: 0x060009E3 RID: 2531 RVA: 0x0001AF4C File Offset: 0x0001914C public FileSystemEventArgs(WatcherChangeTypes changeType, string directory, string name) { this.changeType = changeType; this.directory = directory; this.name = name; } // Token: 0x060009E4 RID: 2532 RVA: 0x0001AF6C File Offset: 0x0001916C internal void SetName(string name) { this.name = name; } /// Gets the type of directory event that occurred. /// One of the values that represents the kind of change detected in the file system. /// 2 // Token: 0x1700028B RID: 651 // (get) Token: 0x060009E5 RID: 2533 RVA: 0x0001AF78 File Offset: 0x00019178 public WatcherChangeTypes ChangeType { get { return this.changeType; } } /// Gets the fully qualifed path of the affected file or directory. /// The path of the affected file or directory. /// 2 // Token: 0x1700028C RID: 652 // (get) Token: 0x060009E6 RID: 2534 RVA: 0x0001AF80 File Offset: 0x00019180 public string FullPath { get { return Path.Combine(this.directory, this.name); } } /// Gets the name of the affected file or directory. /// The name of the affected file or directory. /// 2 // Token: 0x1700028D RID: 653 // (get) Token: 0x060009E7 RID: 2535 RVA: 0x0001AF94 File Offset: 0x00019194 public string Name { get { return this.name; } } // Token: 0x0400035F RID: 863 private WatcherChangeTypes changeType; // Token: 0x04000360 RID: 864 private string directory; // Token: 0x04000361 RID: 865 private string name; } }