diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/CompileCommand.cs')
| -rw-r--r-- | src/WixToolset.Core/CommandLine/CompileCommand.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Core/CommandLine/CompileCommand.cs b/src/WixToolset.Core/CommandLine/CompileCommand.cs index f6f9c623..54d1b6f1 100644 --- a/src/WixToolset.Core/CommandLine/CompileCommand.cs +++ b/src/WixToolset.Core/CommandLine/CompileCommand.cs | |||
| @@ -13,14 +13,14 @@ namespace WixToolset.Core.CommandLine | |||
| 13 | 13 | ||
| 14 | internal class CompileCommand : ICommandLineCommand | 14 | internal class CompileCommand : ICommandLineCommand |
| 15 | { | 15 | { |
| 16 | public CompileCommand(IWixToolsetServiceProvider serviceProvider) | 16 | public CompileCommand(IServiceProvider serviceProvider) |
| 17 | { | 17 | { |
| 18 | this.ServiceProvider = serviceProvider; | 18 | this.ServiceProvider = serviceProvider; |
| 19 | this.Messaging = serviceProvider.GetService<IMessaging>(); | 19 | this.Messaging = serviceProvider.GetService<IMessaging>(); |
| 20 | this.ExtensionManager = serviceProvider.GetService<IExtensionManager>(); | 20 | this.ExtensionManager = serviceProvider.GetService<IExtensionManager>(); |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | public CompileCommand(IWixToolsetServiceProvider serviceProvider, IEnumerable<SourceFile> sources, IDictionary<string, string> preprocessorVariables, Platform platform) | 23 | public CompileCommand(IServiceProvider serviceProvider, IEnumerable<SourceFile> sources, IDictionary<string, string> preprocessorVariables, Platform platform) |
| 24 | { | 24 | { |
| 25 | this.ServiceProvider = serviceProvider; | 25 | this.ServiceProvider = serviceProvider; |
| 26 | this.Messaging = serviceProvider.GetService<IMessaging>(); | 26 | this.Messaging = serviceProvider.GetService<IMessaging>(); |
| @@ -30,7 +30,7 @@ namespace WixToolset.Core.CommandLine | |||
| 30 | this.Platform = platform; | 30 | this.Platform = platform; |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | private IWixToolsetServiceProvider ServiceProvider { get; } | 33 | private IServiceProvider ServiceProvider { get; } |
| 34 | 34 | ||
| 35 | public IMessaging Messaging { get; } | 35 | public IMessaging Messaging { get; } |
| 36 | 36 | ||
