Пример #1
0
 private void OnDeserialized(StreamingContext ctx)
 {
     this.lockObject = new Object();
     this.ErrorCount = 0;
     this.lengthDone = 0;
     this.Basepath   = Basepath.Replace("\\\\", "/").Replace("\\", "/");
 }
Пример #2
0
 private void OnDeserialized(StreamingContext ctx)
 {
     this.lengthDonelockObject   = new Object();
     this.hashedStatuslockObject = new Object();
     this.ErrorCount             = 0;
     this.lengthDone             = 0;
     this.hashedStatus           = PatchFileHashedStatus.NotHashed;
     this.Basepath = Basepath.Replace("\\\\", "/").Replace("\\", "/");
 }