diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-03-01 11:05:02 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@robmensching.com> | 2019-03-01 11:08:36 -0800 |
| commit | e9fea339e473e6dcc32e34e995429b41cabb6c22 (patch) | |
| tree | cad7210c4adcfa8f11b460eaadb1178c52d28e32 /src/WixToolset.Extensibility/BaseCompilerExtension.cs | |
| parent | 543ce1ac2e203ac0dc8fa3227bb2c40c12e6e17e (diff) | |
| download | wix-e9fea339e473e6dcc32e34e995429b41cabb6c22.tar.gz wix-e9fea339e473e6dcc32e34e995429b41cabb6c22.tar.bz2 wix-e9fea339e473e6dcc32e34e995429b41cabb6c22.zip | |
Expose only abstracts and enums from WixToolset.Extensibility
Diffstat (limited to 'src/WixToolset.Extensibility/BaseCompilerExtension.cs')
| -rw-r--r-- | src/WixToolset.Extensibility/BaseCompilerExtension.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/WixToolset.Extensibility/BaseCompilerExtension.cs b/src/WixToolset.Extensibility/BaseCompilerExtension.cs index e1584bc3..51fbcd0b 100644 --- a/src/WixToolset.Extensibility/BaseCompilerExtension.cs +++ b/src/WixToolset.Extensibility/BaseCompilerExtension.cs | |||
| @@ -35,6 +35,11 @@ namespace WixToolset.Extensibility | |||
| 35 | public abstract XNamespace Namespace { get; } | 35 | public abstract XNamespace Namespace { get; } |
| 36 | 36 | ||
| 37 | /// <summary> | 37 | /// <summary> |
| 38 | /// Creates a component key path. | ||
| 39 | /// </summary> | ||
| 40 | protected IComponentKeyPath CreateComponentKeyPath() => this.Context.ServiceProvider.GetService<IComponentKeyPath>(); | ||
| 41 | |||
| 42 | /// <summary> | ||
| 38 | /// Called at the beginning of the compilation of a source file. | 43 | /// Called at the beginning of the compilation of a source file. |
| 39 | /// </summary> | 44 | /// </summary> |
| 40 | public virtual void PreCompile(ICompileContext context) | 45 | public virtual void PreCompile(ICompileContext context) |
| @@ -75,7 +80,7 @@ namespace WixToolset.Extensibility | |||
| 75 | /// <param name="element">Element to process.</param> | 80 | /// <param name="element">Element to process.</param> |
| 76 | /// <param name="keyPath">Explicit key path.</param> | 81 | /// <param name="keyPath">Explicit key path.</param> |
| 77 | /// <param name="contextValues">Extra information about the context in which this element is being parsed.</param> | 82 | /// <param name="contextValues">Extra information about the context in which this element is being parsed.</param> |
| 78 | public virtual ComponentKeyPath ParsePossibleKeyPathElement(Intermediate intermediate, IntermediateSection section, XElement parentElement, XElement element, IDictionary<string, string> context) | 83 | public virtual IComponentKeyPath ParsePossibleKeyPathElement(Intermediate intermediate, IntermediateSection section, XElement parentElement, XElement element, IDictionary<string, string> context) |
| 79 | { | 84 | { |
| 80 | this.ParseElement(intermediate, section, parentElement, element, context); | 85 | this.ParseElement(intermediate, section, parentElement, element, context); |
| 81 | return null; | 86 | return null; |
