From fb2df0e24c0709ce94c396624cf86c70e02da01f Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 2 Dec 2017 00:45:33 -0800 Subject: Fix IExtensionCommandLine and IPreprocessorExtension --- src/WixToolset.Extensibility/IExtensionCommandLine.cs | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'src/WixToolset.Extensibility/IExtensionCommandLine.cs') diff --git a/src/WixToolset.Extensibility/IExtensionCommandLine.cs b/src/WixToolset.Extensibility/IExtensionCommandLine.cs index b6cff5d0..1f8e6ed8 100644 --- a/src/WixToolset.Extensibility/IExtensionCommandLine.cs +++ b/src/WixToolset.Extensibility/IExtensionCommandLine.cs @@ -3,7 +3,7 @@ namespace WixToolset.Extensibility { using System.Collections.Generic; - using WixToolset.Data; + using WixToolset.Extensibility.Services; /// /// A command line option. @@ -20,23 +20,14 @@ namespace WixToolset.Extensibility /// public interface IExtensionCommandLine { - /// - /// Sets the message handler for the extension. - /// - /// Message handler for the extension. - IMessageHandler MessageHandler { set; } - /// /// Gets the supported command line types for this extension. /// /// The supported command line types for this extension. IEnumerable CommandLineSwitches { get; } - /// - /// Parse the commandline arguments. - /// - /// Commandline arguments. - /// Unparsed commandline arguments. - string[] ParseCommandLine(string[] args); + void PreParse(ICommandLineContext context); + + bool TryParseArgument(IParseCommandLine parseCommandLine, string arg); } } -- cgit v1.2.3-55-g6feb