aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/BaseWindowsInstallerBackendExtension.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-07-23 13:46:09 -0700
committerRob Mensching <rob@firegiant.com>2018-07-23 13:46:09 -0700
commite130a7a296696e3a7b1229cf580de393b3f20cbd (patch)
treec7677e1fcb88bfd88b9a314ccc23d987f8bbc870 /src/WixToolset.Extensibility/BaseWindowsInstallerBackendExtension.cs
parentd3da4f5cc6f07376a783ba4bdd03c3bb8dc5e480 (diff)
downloadwix-e130a7a296696e3a7b1229cf580de393b3f20cbd.tar.gz
wix-e130a7a296696e3a7b1229cf580de393b3f20cbd.tar.bz2
wix-e130a7a296696e3a7b1229cf580de393b3f20cbd.zip
Reorganize data into Extensibility.Data namespace
Diffstat (limited to 'src/WixToolset.Extensibility/BaseWindowsInstallerBackendExtension.cs')
-rw-r--r--src/WixToolset.Extensibility/BaseWindowsInstallerBackendExtension.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/WixToolset.Extensibility/BaseWindowsInstallerBackendExtension.cs b/src/WixToolset.Extensibility/BaseWindowsInstallerBackendExtension.cs
index 28f3f927..4393dfda 100644
--- a/src/WixToolset.Extensibility/BaseWindowsInstallerBackendExtension.cs
+++ b/src/WixToolset.Extensibility/BaseWindowsInstallerBackendExtension.cs
@@ -4,9 +4,9 @@ namespace WixToolset.Extensibility
4{ 4{
5 using System.Collections.Generic; 5 using System.Collections.Generic;
6 using WixToolset.Data; 6 using WixToolset.Data;
7 using WixToolset.Data.Bind;
8 using WixToolset.Data.Tuples; 7 using WixToolset.Data.Tuples;
9 using WixToolset.Data.WindowsInstaller; 8 using WixToolset.Data.WindowsInstaller;
9 using WixToolset.Extensibility.Data;
10 using WixToolset.Extensibility.Services; 10 using WixToolset.Extensibility.Services;
11 11
12 /// <summary> 12 /// <summary>
@@ -20,6 +20,11 @@ namespace WixToolset.Extensibility
20 protected IBindContext Context { get; private set; } 20 protected IBindContext Context { get; private set; }
21 21
22 /// <summary> 22 /// <summary>
23 /// Messaging for use by the extension.
24 /// </summary>
25 protected IMessaging Messaging { get; private set; }
26
27 /// <summary>
23 /// Backend helper for use by the extension. 28 /// Backend helper for use by the extension.
24 /// </summary> 29 /// </summary>
25 protected IWindowsInstallerBackendHelper BackendHelper { get; private set; } 30 protected IWindowsInstallerBackendHelper BackendHelper { get; private set; }
@@ -33,6 +38,8 @@ namespace WixToolset.Extensibility
33 { 38 {
34 this.Context = context; 39 this.Context = context;
35 40
41 this.Messaging = context.ServiceProvider.GetService<IMessaging>();
42
36 this.BackendHelper = context.ServiceProvider.GetService<IWindowsInstallerBackendHelper>(); 43 this.BackendHelper = context.ServiceProvider.GetService<IWindowsInstallerBackendHelper>();
37 } 44 }
38 45