IExtensionCommandLine Interface
Interface extensions implement to be able to parse the command-line.
Methods
Method | Description |
---|---|
GetCommandLineHelp() | Gets the help for this extension. |
PostParse() | Called after the command-line is parsed. |
PreParse(context) | Called before the command-line is parsed. |
TryParseArgument(parser, argument) | Gives the extension an opportunity pass a command-line argument for another command. |
WixToolset.Extensibility.dll
version 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78
GetCommandLineHelp() Method
Gets the help for this extension.
Declaration
public Data.CommandLineHelp GetCommandLineHelp()
PostParse() Method
Called after the command-line is parsed.
Declaration
public void PostParse()
PreParse(context) Method
Called before the command-line is parsed.
Declaration
public void PreParse(
Data.ICommandLineContext context
)
Parameters
Parameter | Type | Description |
---|---|---|
context | Data.ICommandLineContext | Information about the command-line to be parsed. |
TryParseArgument(parser, argument) Method
Gives the extension an opportunity pass a command-line argument for another command.
Declaration
public bool TryParseArgument(
Services.ICommandLineParser parser,
string argument
)
Parameters
Parameter | Type | Description |
---|---|---|
parser | Services.ICommandLineParser | Parser to help parse the argument and additional arguments. |
argument | string | Argument to parse. |
Return value
bool
True if the argument is recognized; otherwise false to allow another extension to process it.