diff options
Diffstat (limited to 'src/tools/heat/HeatCommandLine.cs')
-rw-r--r-- | src/tools/heat/HeatCommandLine.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tools/heat/HeatCommandLine.cs b/src/tools/heat/HeatCommandLine.cs index b11dda4e..f299266d 100644 --- a/src/tools/heat/HeatCommandLine.cs +++ b/src/tools/heat/HeatCommandLine.cs | |||
@@ -13,19 +13,17 @@ namespace WixToolset.Harvesters | |||
13 | 13 | ||
14 | internal class HeatCommandLine : IHeatCommandLine | 14 | internal class HeatCommandLine : IHeatCommandLine |
15 | { | 15 | { |
16 | private readonly List<IHeatExtension> extensions; | ||
17 | private readonly IMessaging messaging; | ||
18 | private readonly IServiceProvider serviceProvider; | 16 | private readonly IServiceProvider serviceProvider; |
17 | private readonly List<IHeatExtension> extensions; | ||
19 | 18 | ||
20 | public HeatCommandLine(IServiceProvider serviceProvider, IEnumerable<IHeatExtension> heatExtensions) | 19 | public HeatCommandLine(IServiceProvider serviceProvider, IEnumerable<IHeatExtension> heatExtensions) |
21 | { | 20 | { |
21 | this.serviceProvider = serviceProvider; | ||
22 | this.extensions = new List<IHeatExtension> { new IIsHeatExtension(), new UtilHeatExtension(serviceProvider), new VSHeatExtension() }; | 22 | this.extensions = new List<IHeatExtension> { new IIsHeatExtension(), new UtilHeatExtension(serviceProvider), new VSHeatExtension() }; |
23 | if (heatExtensions != null) | 23 | if (heatExtensions != null) |
24 | { | 24 | { |
25 | this.extensions.AddRange(heatExtensions); | 25 | this.extensions.AddRange(heatExtensions); |
26 | } | 26 | } |
27 | this.messaging = serviceProvider.GetService<IMessaging>(); | ||
28 | this.serviceProvider = serviceProvider; | ||
29 | } | 27 | } |
30 | 28 | ||
31 | public ICommandLineCommand ParseStandardCommandLine(ICommandLineArguments arguments) | 29 | public ICommandLineCommand ParseStandardCommandLine(ICommandLineArguments arguments) |