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/Bind/BindDatabaseCommand.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/Bind/BindDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs index 020f58b3..f78cb42c 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |||
| @@ -24,6 +24,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 24 | 24 | ||
| 25 | public BindDatabaseCommand(IBindContext context, IEnumerable<IWindowsInstallerBackendBinderExtension> backendExtension, Validator validator) | 25 | public BindDatabaseCommand(IBindContext context, IEnumerable<IWindowsInstallerBackendBinderExtension> backendExtension, Validator validator) |
| 26 | { | 26 | { |
| 27 | this.ServiceProvider = context.ServiceProvider; | ||
| 28 | |||
| 27 | this.Messaging = context.ServiceProvider.GetService<IMessaging>(); | 29 | this.Messaging = context.ServiceProvider.GetService<IMessaging>(); |
| 28 | 30 | ||
| 29 | this.BackendHelper = context.ServiceProvider.GetService<IBackendHelper>(); | 31 | this.BackendHelper = context.ServiceProvider.GetService<IBackendHelper>(); |
| @@ -46,6 +48,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 46 | this.BackendExtensions = backendExtension; | 48 | this.BackendExtensions = backendExtension; |
| 47 | } | 49 | } |
| 48 | 50 | ||
| 51 | public IServiceProvider ServiceProvider { get; } | ||
| 52 | |||
| 49 | private IMessaging Messaging { get; } | 53 | private IMessaging Messaging { get; } |
| 50 | 54 | ||
| 51 | private IBackendHelper BackendHelper { get; } | 55 | private IBackendHelper BackendHelper { get; } |
| @@ -383,7 +387,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 383 | { | 387 | { |
| 384 | this.Messaging.Write(VerboseMessages.CreatingCabinetFiles()); | 388 | this.Messaging.Write(VerboseMessages.CreatingCabinetFiles()); |
| 385 | 389 | ||
| 386 | var command = new CreateCabinetsCommand(this.BackendHelper); | 390 | var command = new CreateCabinetsCommand(this.ServiceProvider, this.BackendHelper); |
| 387 | command.CabbingThreadCount = this.CabbingThreadCount; | 391 | command.CabbingThreadCount = this.CabbingThreadCount; |
| 388 | command.CabCachePath = this.CabCachePath; | 392 | command.CabCachePath = this.CabCachePath; |
| 389 | command.DefaultCompressionLevel = this.DefaultCompressionLevel; | 393 | command.DefaultCompressionLevel = this.DefaultCompressionLevel; |
