CommandInfoCreateInstanceWithCustomParsing Method

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

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public abstract 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