diff options
author | Rob Mensching <rob@firegiant.com> | 2017-10-17 02:47:44 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-10-18 13:31:55 -0700 |
commit | c08fd0aefeea1628fe93c818ca4dde63fd6ac2e1 (patch) | |
tree | ac63402f6bad7f3a5bc20b088914145d9bf8635b /src/WixToolset.Core.Burn | |
parent | 6dd045318f7ee405e92e76d311ad1424c20157c1 (diff) | |
download | wix-c08fd0aefeea1628fe93c818ca4dde63fd6ac2e1.tar.gz wix-c08fd0aefeea1628fe93c818ca4dde63fd6ac2e1.tar.bz2 wix-c08fd0aefeea1628fe93c818ca4dde63fd6ac2e1.zip |
Introduce WixToolsetServiceProvider
Using a service provider allows all of WixToolset.Core's internal
functionality to be abstracted behind interfaces in WixToolset.Extensibility.
The service provide can also control what interfaces are singletons.
Diffstat (limited to 'src/WixToolset.Core.Burn')
-rw-r--r-- | src/WixToolset.Core.Burn/BackendFactory.cs | 1 | ||||
-rw-r--r-- | src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs | 1 | ||||
-rw-r--r-- | src/WixToolset.Core.Burn/BundleBackend.cs | 1 | ||||
-rw-r--r-- | src/WixToolset.Core.Burn/StandardBackend.cs | 12 |
4 files changed, 15 insertions, 0 deletions
diff --git a/src/WixToolset.Core.Burn/BackendFactory.cs b/src/WixToolset.Core.Burn/BackendFactory.cs index 042fa254..a69c47b5 100644 --- a/src/WixToolset.Core.Burn/BackendFactory.cs +++ b/src/WixToolset.Core.Burn/BackendFactory.cs | |||
@@ -5,6 +5,7 @@ namespace WixToolset.Core.Burn | |||
5 | using System; | 5 | using System; |
6 | using System.IO; | 6 | using System.IO; |
7 | using WixToolset.Extensibility; | 7 | using WixToolset.Extensibility; |
8 | using WixToolset.Extensibility.Services; | ||
8 | 9 | ||
9 | internal class BackendFactory : IBackendFactory | 10 | internal class BackendFactory : IBackendFactory |
10 | { | 11 | { |
diff --git a/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs b/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs index 212b1e81..3934491b 100644 --- a/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs +++ b/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs | |||
@@ -16,6 +16,7 @@ namespace WixToolset.Core.Burn | |||
16 | using WixToolset.Data.Bind; | 16 | using WixToolset.Data.Bind; |
17 | using WixToolset.Data.Rows; | 17 | using WixToolset.Data.Rows; |
18 | using WixToolset.Extensibility; | 18 | using WixToolset.Extensibility; |
19 | using WixToolset.Extensibility.Services; | ||
19 | 20 | ||
20 | // TODO: (4.0) Refactor so that these don't need to be copied. | 21 | // TODO: (4.0) Refactor so that these don't need to be copied. |
21 | // Copied verbatim from ext\UtilExtension\wixext\UtilCompiler.cs | 22 | // Copied verbatim from ext\UtilExtension\wixext\UtilCompiler.cs |
diff --git a/src/WixToolset.Core.Burn/BundleBackend.cs b/src/WixToolset.Core.Burn/BundleBackend.cs index ef4d362c..0c7f2e8b 100644 --- a/src/WixToolset.Core.Burn/BundleBackend.cs +++ b/src/WixToolset.Core.Burn/BundleBackend.cs | |||
@@ -9,6 +9,7 @@ namespace WixToolset.Core.Burn | |||
9 | using WixToolset.Data; | 9 | using WixToolset.Data; |
10 | using WixToolset.Data.Bind; | 10 | using WixToolset.Data.Bind; |
11 | using WixToolset.Extensibility; | 11 | using WixToolset.Extensibility; |
12 | using WixToolset.Extensibility.Services; | ||
12 | 13 | ||
13 | internal class BundleBackend : IBackend | 14 | internal class BundleBackend : IBackend |
14 | { | 15 | { |
diff --git a/src/WixToolset.Core.Burn/StandardBackend.cs b/src/WixToolset.Core.Burn/StandardBackend.cs new file mode 100644 index 00000000..2ab30776 --- /dev/null +++ b/src/WixToolset.Core.Burn/StandardBackend.cs | |||
@@ -0,0 +1,12 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.Core.Burn | ||
4 | { | ||
5 | /// <summary> | ||
6 | /// Denotes this assembly contains a backend that is considered | ||
7 | /// a standard part of the WiX Toolset. | ||
8 | /// </summary> | ||
9 | public static class StandardBackend | ||
10 | { | ||
11 | } | ||
12 | } | ||