Ejemplo n.º 1
0
 private void OnDeserialized(StreamingContext ctx)
 {
     this.lockObject = new Object();
     this.ErrorCount = 0;
     this.lengthDone = 0;
     this.Basepath   = Basepath.Replace("\\\\", "/").Replace("\\", "/");
 }
Ejemplo n.º 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("\\", "/");
 }