ArgumentProviderCreateInstance Method
Creates an instance of the arguments type.
Namespace: Ookii.CommandLine.SupportAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public abstract Object CreateInstance(
CommandLineParser parser,
Object?[]? requiredPropertyValues
)
Public MustOverride Function CreateInstance (
parser As CommandLineParser,
requiredPropertyValues As Object()
) As Object
Dim instance As ArgumentProvider
Dim parser As CommandLineParser
Dim requiredPropertyValues As Object()
Dim returnValue As Object
returnValue = instance.CreateInstance(parser,
requiredPropertyValues)
public:
virtual Object^ CreateInstance(
CommandLineParser^ parser,
array<Object^>^ requiredPropertyValues
) abstract
- 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.
ObjectAn instance of the type indicated by the
ArgumentsType property.