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.2+aa65968c419420d32e3e1b647aea0082f5ca5b78

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.