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/MsiBackend.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/MsiBackend.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/MsiBackend.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs b/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs index b633ea31..f105473b 100644 --- a/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs +++ b/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs | |||
| @@ -13,7 +13,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
| 13 | 13 | ||
| 14 | internal class MsiBackend : IBackend | 14 | internal class MsiBackend : IBackend |
| 15 | { | 15 | { |
| 16 | public BindResult Bind(IBindContext context) | 16 | public IBindResult Bind(IBindContext context) |
| 17 | { | 17 | { |
| 18 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); | 18 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); |
| 19 | 19 | ||
| @@ -29,7 +29,9 @@ namespace WixToolset.Core.WindowsInstaller | |||
| 29 | var command = new BindDatabaseCommand(context, backendExtensions, validator); | 29 | var command = new BindDatabaseCommand(context, backendExtensions, validator); |
| 30 | command.Execute(); | 30 | command.Execute(); |
| 31 | 31 | ||
| 32 | var result = new BindResult { FileTransfers = command.FileTransfers, TrackedFiles = command.TrackedFiles }; | 32 | var result = context.ServiceProvider.GetService<IBindResult>(); |
| 33 | result.FileTransfers = command.FileTransfers; | ||
| 34 | result.TrackedFiles = command.TrackedFiles; | ||
| 33 | 35 | ||
| 34 | foreach (var extension in backendExtensions) | 36 | foreach (var extension in backendExtensions) |
| 35 | { | 37 | { |
| @@ -38,7 +40,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
| 38 | return result; | 40 | return result; |
| 39 | } | 41 | } |
| 40 | 42 | ||
| 41 | public DecompileResult Decompile(IDecompileContext context) | 43 | public IDecompileResult Decompile(IDecompileContext context) |
| 42 | { | 44 | { |
| 43 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); | 45 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); |
| 44 | 46 | ||
