Click or drag to resize

WordCount.Parse(ReadOnlyMemory<String>, ParseOptions) Method

Parses the specified command line arguments, handling errors and showing usage help as required.

Namespace: Ookii.Jumbo.Jet.Samples
Assembly: Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public static WordCount? Parse(
	ReadOnlyMemory<string> args,
	ParseOptions? options = null
)

Parameters

args  ReadOnlyMemory<String>
The command line arguments.
options  ParseOptions  (Optional)
The options that control parsing behavior and usage help formatting. If null, the default options are used.

Return Value

WordCount
An instance of the WordCount class, or null if an error occurred or argument parsing was canceled.

Implements

IParser<TSelf>.Parse(ReadOnlyMemory<String>, ParseOptions)
See Also