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 6.0.0+8c7432e50072e009353ea5f2c956ccf453476f71

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.