IExtensionCommandLine Interface
Interface extensions implement to be able to parse the command-line.
Methods
Section titled “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.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
GetCommandLineHelp() Method
Section titled “GetCommandLineHelp() Method”Gets the help for this extension.
Declaration
Section titled “Declaration”public Data.CommandLineHelp GetCommandLineHelp()PostParse() Method
Section titled “PostParse() Method”Called after the command-line is parsed.
Declaration
Section titled “Declaration”public void PostParse()PreParse(context) Method
Section titled “PreParse(context) Method”Called before the command-line is parsed.
Declaration
Section titled “Declaration”public void PreParse( Data.ICommandLineContext context)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| context | Data.ICommandLineContext | Information about the command-line to be parsed. |
TryParseArgument(parser, argument) Method
Section titled “TryParseArgument(parser, argument) Method”Gives the extension an opportunity pass a command-line argument for another command.
Declaration
Section titled “Declaration”public bool TryParseArgument( Services.ICommandLineParser parser, string argument)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| parser | Services.ICommandLineParser | Parser to help parse the argument and additional arguments. |
| argument | string | Argument to parse. |
Return value
Section titled “Return value”bool True if the argument is recognized; otherwise false to allow another extension to process it.