public static IsContourParameter ( Newtonsoft.Json.Linq.JObject data ) : bool | ||
data | Newtonsoft.Json.Linq.JObject | |
return | bool |
public static bool IsContourParameter(JObject data)
{
var parameterType = (int)data["ParameterType"];
if (parameterType != 3) return false;
var strWkt = (string) data["Data"]["Value"];
if (string.IsNullOrWhiteSpace(strWkt)) return false;
return true;
}