Ejemplo n.º 1
0
 /// <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)));
 }