public static bool TryParse(string input, out BuildNumber buildNumber) { try { buildNumber = Parse(input); return(true); } catch { buildNumber = null; return(false); } }
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) { return(BuildNumber.Parse(reader.Value.ToString())); }