From 8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 29 Jun 2021 19:14:02 -0500 Subject: Expose overridable variable APIs in balutil and Mba.Core. Fixes #4777 --- src/api/burn/WixToolset.Mba.Core/IBootstrapperCommand.cs | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/api/burn/WixToolset.Mba.Core/IBootstrapperCommand.cs') diff --git a/src/api/burn/WixToolset.Mba.Core/IBootstrapperCommand.cs b/src/api/burn/WixToolset.Mba.Core/IBootstrapperCommand.cs index e861813f..b7baa55c 100644 --- a/src/api/burn/WixToolset.Mba.Core/IBootstrapperCommand.cs +++ b/src/api/burn/WixToolset.Mba.Core/IBootstrapperCommand.cs @@ -25,13 +25,12 @@ namespace WixToolset.Mba.Core Restart Restart { get; } /// - /// Gets the command line arguments as a string array. + /// Gets the command line arguments. /// /// - /// Array of command line arguments not handled by the engine. + /// Command line arguments not handled by the engine. /// - /// The command line could not be parsed into an array. - string[] CommandLineArgs { get; } + string CommandLine { get; } /// /// Hint for the initial visibility of the window. @@ -72,5 +71,14 @@ namespace WixToolset.Mba.Core /// Gets path to BootstrapperApplicationData.xml. /// string BootstrapperApplicationDataPath { get; } + + /// + /// Parses the command line arguments into an . + /// + /// + /// The parsed information. + /// + /// The command line could not be parsed. + IMbaCommand ParseCommandLine(); } } -- cgit v1.2.3-55-g6feb