Skip to content

ICommandLine Interface

Command-line parsing mechanism.

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

Simple way to parse arguments and create a command.

public WixToolset.Extensibility.Data.ICommandLineCommand CreateCommand(
System.String[] args
)
ParameterTypeDescription
argsSystem.String[]Unparsed arguments.

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

Simple way to parse arguments and create a command.

public WixToolset.Extensibility.Data.ICommandLineCommand CreateCommand(
string commandLine
)
ParameterTypeDescription
commandLinestringUnparsed arguments.

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

ParseStandardCommandLine(arguments) Method

Section titled “ParseStandardCommandLine(arguments) Method”

Creates a command from populated arguments.

public WixToolset.Extensibility.Data.ICommandLineCommand ParseStandardCommandLine(
WixToolset.Extensibility.Data.ICommandLineArguments arguments
)
ParameterTypeDescription
argumentsWixToolset.Extensibility.Data.ICommandLineArgumentsParsed arguments.

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