Helper methods for parse results.
public static class ParseResult
name | description |
---|---|
static Failure<T>(…) | Creates a failed parse result. |
static GetNamedFailures(…) | Gets the named failures that were registered while parsing. |
static GetValueOrDefault<T>(…) | Gets the parse result value on success, or the default value on failure. (2 methods) |
static MapSuccess<TBefore,TAfter>(…) | Maps a successful parse result into another parse result (success or failure). |
static Success<T>(…) | Creates a successful parse result. |
static ToMessage(…) | Creates a message for the parse result. |