예제 #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("\\", "/");
 }