ArgumentProviderCreateInstance Method

Creates an instance of the arguments type.

Definition

Namespace: Ookii.CommandLine.Support
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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