summaryrefslogtreecommitdiff
path: root/src/tools/heat/HeatCommandLine.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2022-08-11 17:40:06 -0700
committerRob Mensching <rob@firegiant.com>2022-08-15 06:49:36 -0700
commita6f8b6fa3903d846cdc2fbe715ca951d83af3107 (patch)
treee1c554fc6c386c5dc881d288661aa0d1ba0a84a4 /src/tools/heat/HeatCommandLine.cs
parent4a21abbfc4d3b18bda3547a6c792be9f21df356e (diff)
downloadwix-a6f8b6fa3903d846cdc2fbe715ca951d83af3107.tar.gz
wix-a6f8b6fa3903d846cdc2fbe715ca951d83af3107.tar.bz2
wix-a6f8b6fa3903d846cdc2fbe715ca951d83af3107.zip
Redesign command-line help to meet the needs of WiX v4
Diffstat (limited to 'src/tools/heat/HeatCommandLine.cs')
-rw-r--r--src/tools/heat/HeatCommandLine.cs6
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)