/// <summary> /// Gets the parse result value on success, or the default value on failure. /// </summary> public static T GetValueOrDefault <T>(this IParseResult <T> result) { return(result.GetValueOrDefault(default(T))); }