diff options
Diffstat (limited to 'src/WixToolset.Core.Burn')
| -rw-r--r-- | src/WixToolset.Core.Burn/BurnBackendFactory.cs (renamed from src/WixToolset.Core.Burn/BackendFactory.cs) | 2 | ||||
| -rw-r--r-- | src/WixToolset.Core.Burn/BurnExtensionFactory.cs | 22 | ||||
| -rw-r--r-- | src/WixToolset.Core.Burn/WixToolsetStandardBackend.cs (renamed from src/WixToolset.Core.Burn/StandardBackend.cs) | 2 |
3 files changed, 24 insertions, 2 deletions
diff --git a/src/WixToolset.Core.Burn/BackendFactory.cs b/src/WixToolset.Core.Burn/BurnBackendFactory.cs index a69c47b5..8e2b3ce2 100644 --- a/src/WixToolset.Core.Burn/BackendFactory.cs +++ b/src/WixToolset.Core.Burn/BurnBackendFactory.cs | |||
| @@ -7,7 +7,7 @@ namespace WixToolset.Core.Burn | |||
| 7 | using WixToolset.Extensibility; | 7 | using WixToolset.Extensibility; |
| 8 | using WixToolset.Extensibility.Services; | 8 | using WixToolset.Extensibility.Services; |
| 9 | 9 | ||
| 10 | internal class BackendFactory : IBackendFactory | 10 | internal class BurnBackendFactory : IBackendFactory |
| 11 | { | 11 | { |
| 12 | public bool TryCreateBackend(string outputType, string outputFile, IBindContext context, out IBackend backend) | 12 | public bool TryCreateBackend(string outputType, string outputFile, IBindContext context, out IBackend backend) |
| 13 | { | 13 | { |
diff --git a/src/WixToolset.Core.Burn/BurnExtensionFactory.cs b/src/WixToolset.Core.Burn/BurnExtensionFactory.cs new file mode 100644 index 00000000..b34d12c1 --- /dev/null +++ b/src/WixToolset.Core.Burn/BurnExtensionFactory.cs | |||
| @@ -0,0 +1,22 @@ | |||
| 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 | using System; | ||
| 6 | using WixToolset.Extensibility; | ||
| 7 | |||
| 8 | internal class BurnExtensionFactory : IExtensionFactory | ||
| 9 | { | ||
| 10 | public bool TryCreateExtension(Type extensionType, out object extension) | ||
| 11 | { | ||
| 12 | extension = null; | ||
| 13 | |||
| 14 | if (extensionType == typeof(IBackendFactory)) | ||
| 15 | { | ||
| 16 | extension = new BurnBackendFactory(); | ||
| 17 | } | ||
| 18 | |||
| 19 | return extension != null; | ||
| 20 | } | ||
| 21 | } | ||
| 22 | } | ||
diff --git a/src/WixToolset.Core.Burn/StandardBackend.cs b/src/WixToolset.Core.Burn/WixToolsetStandardBackend.cs index 2ab30776..5f589d71 100644 --- a/src/WixToolset.Core.Burn/StandardBackend.cs +++ b/src/WixToolset.Core.Burn/WixToolsetStandardBackend.cs | |||
| @@ -6,7 +6,7 @@ namespace WixToolset.Core.Burn | |||
| 6 | /// Denotes this assembly contains a backend that is considered | 6 | /// Denotes this assembly contains a backend that is considered |
| 7 | /// a standard part of the WiX Toolset. | 7 | /// a standard part of the WiX Toolset. |
| 8 | /// </summary> | 8 | /// </summary> |
| 9 | public static class StandardBackend | 9 | public static class WixToolsetStandardBackend |
| 10 | { | 10 | { |
| 11 | } | 11 | } |
| 12 | } | 12 | } |
