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.1+2f00cbe680fb01ab485d56f16de9cd19b133f875

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.