SuperMap.Web.iServerJava6R.ServerColor.FromJson C# (CSharp) Méthode

FromJson() static private méthode

static private FromJson ( System.Json.JsonObject json ) : ServerColor
json System.Json.JsonObject
Résultat ServerColor
        internal static ServerColor FromJson(JsonObject json)
        {
            if (json == null)
            {
                return null;
            }

            return new ServerColor()
            {
                Red = json["red"],
                Green = json["green"],
                Blue = json["blue"]
            };
        }