public void Diff() { var storage = Storage.Create(); var log = LogContext.Create(storage); storage.Name = "正式名称"; storage.IsChecked = false; var diff = log.Diff(storage); Assert.True(diff); Console.WriteLine(log); storage.Name = null; diff = log.Diff(storage); Assert.True(diff); Console.WriteLine(log); }