Skip to main 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

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

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

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.