Skip to content

ICommandLine Interface

Command-line parsing mechanism.

Methods

MethodDescription
CreateCommand(args)Simple way to parse arguments and create a command.
CreateCommand(commandLine)Simple way to parse arguments and create a command.
ParseStandardCommandLine(arguments)Creates a command from populated arguments.
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

CreateCommand(args) Method {#createcommand_args}

Simple way to parse arguments and create a command.

Declaration

public WixToolset.Extensibility.Data.ICommandLineCommand CreateCommand(
System.String[] args
)

Parameters

ParameterTypeDescription
argsSystem.String[]Unparsed arguments.

Return value

WixToolset.Extensibility.Data.ICommandLineCommand Command if the command-line arguments can be parsed, otherwise null.

CreateCommand(commandLine) Method {#createcommand_commandline}

Simple way to parse arguments and create a command.

Declaration

public WixToolset.Extensibility.Data.ICommandLineCommand CreateCommand(
string commandLine
)

Parameters

ParameterTypeDescription
commandLinestringUnparsed arguments.

Return value

WixToolset.Extensibility.Data.ICommandLineCommand Command if the command-line arguments can be parsed, otherwise null.

ParseStandardCommandLine(arguments) Method {#parsestandardcommandline_arguments}

Creates a command from populated arguments.

Declaration

public WixToolset.Extensibility.Data.ICommandLineCommand ParseStandardCommandLine(
WixToolset.Extensibility.Data.ICommandLineArguments arguments
)

Parameters

ParameterTypeDescription
argumentsWixToolset.Extensibility.Data.ICommandLineArgumentsParsed arguments.

Return value

WixToolset.Extensibility.Data.ICommandLineCommand Command if the command-line arguments can be parsed, otherwise null.