diff options
| author | Rob Mensching <rob@firegiant.com> | 2018-07-23 13:46:09 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2018-07-23 13:46:09 -0700 |
| commit | e130a7a296696e3a7b1229cf580de393b3f20cbd (patch) | |
| tree | c7677e1fcb88bfd88b9a314ccc23d987f8bbc870 /src/WixToolset.Extensibility/BasePreprocessorExtension.cs | |
| parent | d3da4f5cc6f07376a783ba4bdd03c3bb8dc5e480 (diff) | |
| download | wix-e130a7a296696e3a7b1229cf580de393b3f20cbd.tar.gz wix-e130a7a296696e3a7b1229cf580de393b3f20cbd.tar.bz2 wix-e130a7a296696e3a7b1229cf580de393b3f20cbd.zip | |
Reorganize data into Extensibility.Data namespace
Diffstat (limited to 'src/WixToolset.Extensibility/BasePreprocessorExtension.cs')
| -rw-r--r-- | src/WixToolset.Extensibility/BasePreprocessorExtension.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/BasePreprocessorExtension.cs b/src/WixToolset.Extensibility/BasePreprocessorExtension.cs index f5d89103..b7d29095 100644 --- a/src/WixToolset.Extensibility/BasePreprocessorExtension.cs +++ b/src/WixToolset.Extensibility/BasePreprocessorExtension.cs | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | namespace WixToolset.Extensibility | 3 | namespace WixToolset.Extensibility |
| 4 | { | 4 | { |
| 5 | using System.Xml.Linq; | 5 | using System.Xml.Linq; |
| 6 | using WixToolset.Extensibility.Data; | ||
| 6 | using WixToolset.Extensibility.Services; | 7 | using WixToolset.Extensibility.Services; |
| 7 | 8 | ||
| 8 | /// <summary> | 9 | /// <summary> |
| @@ -16,6 +17,11 @@ namespace WixToolset.Extensibility | |||
| 16 | protected IPreprocessContext Context { get; private set; } | 17 | protected IPreprocessContext Context { get; private set; } |
| 17 | 18 | ||
| 18 | /// <summary> | 19 | /// <summary> |
| 20 | /// Messaging for use by the extension. | ||
| 21 | /// </summary> | ||
| 22 | protected IMessaging Messaging { get; private set; } | ||
| 23 | |||
| 24 | /// <summary> | ||
| 19 | /// PreprocessHelper for use by the extension. | 25 | /// PreprocessHelper for use by the extension. |
| 20 | /// </summary> | 26 | /// </summary> |
| 21 | protected IPreprocessHelper PreprocessHelper { get; private set; } | 27 | protected IPreprocessHelper PreprocessHelper { get; private set; } |
| @@ -33,6 +39,8 @@ namespace WixToolset.Extensibility | |||
| 33 | { | 39 | { |
| 34 | this.Context = context; | 40 | this.Context = context; |
| 35 | 41 | ||
| 42 | this.Messaging = context.ServiceProvider.GetService<IMessaging>(); | ||
| 43 | |||
| 36 | this.PreprocessHelper = context.ServiceProvider.GetService<IPreprocessHelper>(); | 44 | this.PreprocessHelper = context.ServiceProvider.GetService<IPreprocessHelper>(); |
| 37 | } | 45 | } |
| 38 | 46 | ||
