From de389d8c8803c3d2fbbf65620695be30fa24754e Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 6 Jun 2020 15:24:04 -0700 Subject: Add the argument to command command-line processing and add xmldoc --- .../Data/ICommandLineCommand.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/WixToolset.Extensibility/Data/ICommandLineCommand.cs') diff --git a/src/WixToolset.Extensibility/Data/ICommandLineCommand.cs b/src/WixToolset.Extensibility/Data/ICommandLineCommand.cs index 1c6de205..a0fc9454 100644 --- a/src/WixToolset.Extensibility/Data/ICommandLineCommand.cs +++ b/src/WixToolset.Extensibility/Data/ICommandLineCommand.cs @@ -4,14 +4,33 @@ namespace WixToolset.Extensibility.Data { using WixToolset.Extensibility.Services; + /// + /// Custom command. + /// public interface ICommandLineCommand { + /// + /// Indicates the command-line should show the command-line logo. + /// bool ShowLogo { get; } + /// + /// Indicates the command-line parsing can stop. + /// bool StopParsing { get; } + /// + /// Executes the command. + /// + /// Exit code for the command. int Execute(); + /// + /// Allows the command to parse command-line arguments. + /// + /// Parser to help parse the argument and additional arguments. + /// Argument to parse. + /// True if the argument is recognized; otherwise false to allow another extension to process it. bool TryParseArgument(ICommandLineParser parser, string argument); } } -- cgit v1.2.3-55-g6feb