Parse(String?, OptionContext) Method

Definition

Assembly XenoAtom.CommandLine.dll

Parses a value for this option.

protected static T Parse<T>(string? value, OptionContext c)
    where T : ISpanParsable<T>

Type parameters

T
Type of the value.

Parameters

value
String

A string representation of the value.

c
OptionContext

The parsing context.

Returns

{T}
The parsed value