示例#1
0
 public FilesEvents(FilesEvents fe)
 {
     this.Time     = fe.Time;
     this.Path     = fe.Path;
     this.DiskId   = fe.DiskId;
     this.DeviceId = fe.DeviceId;
 }
 public FileAddEv(FilesEvents fe, XmlReader reader) : base(fe)
 {
     Category     = Classes.Category.GetCategory(reader.GetAttribute(XmlCategory));
     InfoFilePath = reader.GetAttribute(XmlInfoFilePath);
 }
 public FileAddEv(FilesEvents fe, Classes.Category cat, string ifPath) : base(fe)
 {
     Category     = cat;
     InfoFilePath = ifPath;
 }
示例#4
0
 public FileDeleteEv(FilesEvents fe, XmlReader r) : base(fe)
 {
     InfoFilePath = r.GetAttribute(XmlInfoFilePath);
 }
示例#5
0
 public FileDeleteEv(string infoFilePath, FilesEvents fe)
     : base(fe)
 {
     InfoFilePath = infoFilePath;
 }
示例#6
0
 public FileMoveEv(FilesEvents fe, XmlReader reader) : base(fe)
 {
     TargetDeviceId = ulong.Parse(reader.GetAttribute(XmlTargetDeviceId), culture);
     copy           = bool.Parse(reader.GetAttribute(XmlCopy));
 }
示例#7
0
 public FileRemoveEvent(FilesEvents fe, System.Xml.XmlReader r) : base(fe)
 {
     InfoFilePath = r.GetAttribute(XmlInfoFilePath);
 }
示例#8
0
 public FileRemoveEvent(FilesEvents fe, string infoFilePath) : base(fe)
 {
     InfoFilePath = infoFilePath;
 }