Parse(String?, CommandArgumentContext) Method

Definition

Assembly XenoAtom.CommandLine.dll

Parses a value for this argument.

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

Type parameters

T
Type of the value.

Parameters

value
String

A string representation of the value.

c
CommandArgumentContext

The parsing context.

Returns

{T}
The parsed value