diff options
| author | Rob Mensching <rob@firegiant.com> | 2022-08-11 17:40:06 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2022-08-15 06:49:36 -0700 |
| commit | a6f8b6fa3903d846cdc2fbe715ca951d83af3107 (patch) | |
| tree | e1c554fc6c386c5dc881d288661aa0d1ba0a84a4 /src/tools/heat/HeatCommandLine.cs | |
| parent | 4a21abbfc4d3b18bda3547a6c792be9f21df356e (diff) | |
| download | wix-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.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) |
