ArgumentProviderCreateInstance Method

Creates an instance of the arguments type.

Definition

Namespace: Ookii.CommandLine.Support
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public abstract Object CreateInstance(
	CommandLineParser parser,
	Object?[]? requiredPropertyValues
)

Parameters

parser  CommandLineParser
The CommandLineParser that is parsing the arguments.
requiredPropertyValues  Object
An array with the values of any arguments backed by required properties, or if there are no required properties, or if the Kind property equals ProviderKindReflection.

Return Value

Object
An instance of the type indicated by the ArgumentsType property.

See Also