示例#1
0
文件: Util.cs 项目: FIVIL/ParsiCoin
 public static string ToJson(this IPICObject obj, bool indented = false)
 => indented
     ? Newtonsoft.Json.JsonConvert.SerializeObject(obj, Newtonsoft.Json.Formatting.Indented)
     : Newtonsoft.Json.JsonConvert.SerializeObject(obj, Newtonsoft.Json.Formatting.None);
示例#2
0
 public bool Equal(IPICObject obj)
 => this.ToJson().ComputeHashString().Equals(obj.ToJson().ComputeHashString());
示例#3
0
 public bool Equal(IPICObject obj)
 {
     throw new NotImplementedException();
 }