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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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