ScalarParser<T> Delegate

Represents a method that attempts to parse a string value into a specified type.

public delegate bool ScalarParser<T>(string value, out T result)

Type parameters

T
The type to parse the value into.

Parameters

value string
The string value to parse.
result T
When this method returns, contains the parsed value if parsing succeeded, or the default value if parsing failed.