DependencyValidationAttributeGetArguments Method

Resolves the argument names in the Arguments property to their actual CommandLineArgument instances.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public IEnumerable<CommandLineArgument> GetArguments(
	CommandLineParser parser
)

Parameters

parser  CommandLineParser
The CommandLineParser instance.

Return Value

IEnumerableCommandLineArgument
A list of the arguments.

Exceptions

ArgumentNullExceptionparser is .
InvalidOperationException One of the argument names in the Arguments property refers to an argument that doesn't exist.

See Also