ArgumentProviderCreateInstance Method
Creates an instance of the arguments type.
Namespace: Ookii.CommandLine.SupportAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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.