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.Burn/BundleBackend.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.Burn/BundleBackend.cs')
| -rw-r--r-- | src/WixToolset.Core.Burn/BundleBackend.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/WixToolset.Core.Burn/BundleBackend.cs b/src/WixToolset.Core.Burn/BundleBackend.cs index 1d833b93..f859cbec 100644 --- a/src/WixToolset.Core.Burn/BundleBackend.cs +++ b/src/WixToolset.Core.Burn/BundleBackend.cs | |||
| @@ -9,10 +9,11 @@ namespace WixToolset.Core.Burn | |||
| 9 | using WixToolset.Data; | 9 | using WixToolset.Data; |
| 10 | using WixToolset.Extensibility; | 10 | using WixToolset.Extensibility; |
| 11 | using WixToolset.Extensibility.Data; | 11 | using WixToolset.Extensibility.Data; |
| 12 | using WixToolset.Extensibility.Services; | ||
| 12 | 13 | ||
| 13 | internal class BundleBackend : IBackend | 14 | internal class BundleBackend : IBackend |
| 14 | { | 15 | { |
| 15 | public BindResult Bind(IBindContext context) | 16 | public IBindResult Bind(IBindContext context) |
| 16 | { | 17 | { |
| 17 | BindBundleCommand command = new BindBundleCommand(context); | 18 | BindBundleCommand command = new BindBundleCommand(context); |
| 18 | //command.DefaultCompressionLevel = context.DefaultCompressionLevel; | 19 | //command.DefaultCompressionLevel = context.DefaultCompressionLevel; |
| @@ -24,10 +25,14 @@ namespace WixToolset.Core.Burn | |||
| 24 | //command.WixVariableResolver = context.WixVariableResolver; | 25 | //command.WixVariableResolver = context.WixVariableResolver; |
| 25 | command.Execute(); | 26 | command.Execute(); |
| 26 | 27 | ||
| 27 | return new BindResult { FileTransfers = command.FileTransfers, TrackedFiles = command.TrackedFiles }; | 28 | var result = context.ServiceProvider.GetService<IBindResult>(); |
| 29 | result.FileTransfers = command.FileTransfers; | ||
| 30 | result.TrackedFiles = command.TrackedFiles; | ||
| 31 | |||
| 32 | return result; | ||
| 28 | } | 33 | } |
| 29 | 34 | ||
| 30 | public DecompileResult Decompile(IDecompileContext context) | 35 | public IDecompileResult Decompile(IDecompileContext context) |
| 31 | { | 36 | { |
| 32 | throw new NotImplementedException(); | 37 | throw new NotImplementedException(); |
| 33 | } | 38 | } |
