ParseResultFromSuccess Method

Gets a ParseResult instance that represents successful parsing.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public static ParseResult FromSuccess(
	string cancelArgumentName = null,
	ReadOnlyMemory<string> remainingArguments = default
)

Parameters

cancelArgumentName  String  (Optional)
The name of the argument that canceled parsing using CancelModeSuccess, or if parsing was not canceled.
remainingArguments  ReadOnlyMemoryString  (Optional)
Any remaining arguments that were not parsed.

Return Value

ParseResult
An instance of the ParseResult structure.

See Also