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