示例#1
0
 public VMFileDetails(VMFile vmFile, DateTime startdate)
 {
     _vmFile        = vmFile;
     CreationTime   = startdate.AddDays(-27.32);
     LastAccessTime = startdate.AddDays(-23.931111);
     LastWriteTime  = startdate;
 }
示例#2
0
 public VMLog(DateTime timeStamp, VMFile file, string shortText, string longText = null)
 {
     TimeStamp = timeStamp;
     File      = file;
     ShortText = shortText;
     LongText  = longText;
     if (string.IsNullOrWhiteSpace(LongText))
     {
         LongText = ShortText;
     }
 }
示例#3
0
 public VMFileDetails(VMFile vmFile)
 {
     _vmFile = vmFile;
 }
示例#4
0
 public VMLog(VMFile file, string shortText, string longText = null) : this(DateTime.Now, file, shortText, longText)
 {
 }