/// <summary>
        ///
        /// </summary>
        /// <param name="vp"></param>
        /// <param name="otro"></param>
        /// <returns></returns>
        public static bool AreEquals(this Viewpoint vp, Viewpoint otro)
        {
            var json     = vp.ToJson();
            var jsonOtro = otro != null?otro.ToJson() : string.Empty;

            Debug.WriteLine($"Viewpoint 1:{json}");
            Debug.WriteLine($"Viewpoint 2:{jsonOtro}");

            return(json == jsonOtro);
        }
示例#2
0
 private string JsonAsString(Viewpoint arg)
 {
     return($"\"{arg.ToJson().Replace("\"", "\\\"")}\"");
 }