ArgumentProvider.CreateInstance Method
Creates an instance of the arguments type.
Namespace: Ookii.CommandLine.SupportAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
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 null
if there are no required properties, or if the Kind property equals
ProviderKind.Reflection.
ObjectAn instance of the type indicated by the
ArgumentsType property.