${iServerJava6R_FindPathResult_Title}

${iServerJava6R_FindPathResult_Description}

コード例 #1
0
        /// <summary>${iServerJava6R_FindPathResult_method_fromJson_D}</summary>
        /// <returns>${iServerJava6R_FindPathResult_method_fromJson_return}</returns>
        /// <param name="json">${iServerJava6R_FindPathResult_method_fromJson_param_jsonObject}</param>
        public static FindPathResult FromJson(JsonObject json)
        {
            if (json == null)
                return null;

            FindPathResult result = new FindPathResult();

               // result.MapImage = NAResultMapImage.FromJson((JsonObject)json["mapImage"]);
            if (json["pathList"] != null)
            {
                result.PathList = new List<ServerPath>();
                for (int i = 0; i < json["pathList"].Count; i++)
                {
                    result.PathList.Add(ServerPath.ServerPathFromJson((JsonObject)json["pathList"][i]));
                }
            }

            return result;
        }
コード例 #2
0
 /// <summary>${iServerJava6R_FindPathEventArgs_constructor_D}</summary>
 public FindPathEventArgs(FindPathResult result, string originResult, object token)
     : base(token)
 {
     Result = result;
     OriginResult = originResult;
 }