diff options
author | Rob Mensching <rob@firegiant.com> | 2019-03-01 11:12:52 -0800 |
---|---|---|
committer | Rob Mensching <rob@robmensching.com> | 2019-03-01 11:15:40 -0800 |
commit | 5392cf57c09bddde7157e5b26c5c2a013f819ead (patch) | |
tree | 96063a49293bd9eea122218e770b52d3c20812f2 /src/WixToolset.Core.WindowsInstaller/MsmBackend.cs | |
parent | a4f5a5a042c00254607fbecdf132a2e2a91a1bdd (diff) | |
download | wix-5392cf57c09bddde7157e5b26c5c2a013f819ead.tar.gz wix-5392cf57c09bddde7157e5b26c5c2a013f819ead.tar.bz2 wix-5392cf57c09bddde7157e5b26c5c2a013f819ead.zip |
Integrate interface-only WixToolset.Extensibility change
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/MsmBackend.cs')
-rw-r--r-- | src/WixToolset.Core.WindowsInstaller/MsmBackend.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/MsmBackend.cs b/src/WixToolset.Core.WindowsInstaller/MsmBackend.cs index 84588572..d17aad8e 100644 --- a/src/WixToolset.Core.WindowsInstaller/MsmBackend.cs +++ b/src/WixToolset.Core.WindowsInstaller/MsmBackend.cs | |||
@@ -12,7 +12,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
12 | 12 | ||
13 | internal class MsmBackend : IBackend | 13 | internal class MsmBackend : IBackend |
14 | { | 14 | { |
15 | public BindResult Bind(IBindContext context) | 15 | public IBindResult Bind(IBindContext context) |
16 | { | 16 | { |
17 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); | 17 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); |
18 | 18 | ||
@@ -28,7 +28,9 @@ namespace WixToolset.Core.WindowsInstaller | |||
28 | var command = new BindDatabaseCommand(context, backendExtensions, validator); | 28 | var command = new BindDatabaseCommand(context, backendExtensions, validator); |
29 | command.Execute(); | 29 | command.Execute(); |
30 | 30 | ||
31 | var result = new BindResult { FileTransfers = command.FileTransfers, TrackedFiles = command.TrackedFiles }; | 31 | var result = context.ServiceProvider.GetService<IBindResult>(); |
32 | result.FileTransfers = command.FileTransfers; | ||
33 | result.TrackedFiles = command.TrackedFiles; | ||
32 | 34 | ||
33 | foreach (var extension in backendExtensions) | 35 | foreach (var extension in backendExtensions) |
34 | { | 36 | { |
@@ -43,7 +45,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
43 | return result; | 45 | return result; |
44 | } | 46 | } |
45 | 47 | ||
46 | public DecompileResult Decompile(IDecompileContext context) | 48 | public IDecompileResult Decompile(IDecompileContext context) |
47 | { | 49 | { |
48 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); | 50 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); |
49 | 51 | ||