GeneratedCommandInfoCreateInstanceWithCustomParsing Method

Creates an instance of a command that uses the ICommandWithCustomParsing interface.

Definition

Namespace: Ookii.CommandLine.Support
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public override ICommandWithCustomParsing CreateInstanceWithCustomParsing()

Return Value

ICommandWithCustomParsing
An instance of the command type.

Remarks

It is the responsibility of the caller to invoke the ICommandWithCustomParsingParse(ReadOnlyMemoryString, CommandManager) method after the instance is created.

Exceptions

InvalidOperationException The command does not use the ICommandWithCustomParsing interface.

See Also