From 404f34f00ecce034a8a06fe4757789c6ce62f3f6 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 14 Nov 2017 23:08:24 -0800 Subject: Remove ICompilerCore, introduce IParseHelper and other small fixes --- src/WixToolset.Extensibility/ICompilerExtension.cs | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/WixToolset.Extensibility/ICompilerExtension.cs') diff --git a/src/WixToolset.Extensibility/ICompilerExtension.cs b/src/WixToolset.Extensibility/ICompilerExtension.cs index 1746a571..0aa5c9e2 100644 --- a/src/WixToolset.Extensibility/ICompilerExtension.cs +++ b/src/WixToolset.Extensibility/ICompilerExtension.cs @@ -5,20 +5,12 @@ namespace WixToolset.Extensibility using System.Collections.Generic; using System.Xml.Linq; using WixToolset.Data; - using WixToolset.Extensibility.Services; /// /// Interface all compiler extensions implement. /// public interface ICompilerExtension { -#if false - /// - /// Gets or sets the compiler core for the extension. - /// - /// Compiler core for the extension. - ICompilerCore Core { get; set; } -#endif /// /// Gets the schema namespace for this extension. /// @@ -36,7 +28,7 @@ namespace WixToolset.Extensibility /// Parent element of attribute. /// Attribute to process. /// Extra information about the context in which this element is being parsed. - void ParseAttribute(XElement parentElement, XAttribute attribute, IDictionary context); + void ParseAttribute(Intermediate intermediate, IntermediateSection section, XElement parentElement, XAttribute attribute, IDictionary context); /// /// Processes an element for the Compiler. @@ -44,7 +36,7 @@ namespace WixToolset.Extensibility /// Parent element of element to process. /// Element to process. /// Extra information about the context in which this element is being parsed. - void ParseElement(XElement parentElement, XElement element, IDictionary context); + void ParseElement(Intermediate intermediate, IntermediateSection section, XElement parentElement, XElement element, IDictionary context); /// /// Processes an element for the Compiler, with the ability to supply a component keypath. @@ -52,7 +44,7 @@ namespace WixToolset.Extensibility /// Parent element of element to process. /// Element to process. /// Extra information about the context in which this element is being parsed. - ComponentKeyPath ParsePossibleKeyPathElement(XElement parentElement, XElement element, IDictionary context); + ComponentKeyPath ParsePossibleKeyPathElement(Intermediate intermediate, IntermediateSection section, XElement parentElement, XElement element, IDictionary context); /// /// Called at the end of the compilation of a source file. -- cgit v1.2.3-55-g6feb