Interface IValueParser<T>
A parser that can convert string into T.
Inherited Members
Namespace: McMaster.Extensions.CommandLineUtils.Abstractions
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public interface IValueParser<T> : IValueParser
  Type Parameters
| Name | Description | 
|---|---|
| T | 
Methods
| Improve this Doc View SourceParse(Nullable<String>, Nullable<String>, CultureInfo)
Parses the raw string value.
Declaration
T Parse(string? argName, string? value, CultureInfo culture)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.String> | argName | The name of the argument this value will be bound to.  | 
      
| System.Nullable<System.String> | value | The raw string value to parse.  | 
      
| System.Globalization.CultureInfo | culture | The culture that should be used to parse values.  | 
      
Returns
| Type | Description | 
|---|---|
| T | The parsed value object.  |