aboutsummaryrefslogtreecommitdiff
path: root/src/tools/heat/HeatCommandLineFactory.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2022-07-26 17:20:39 -0700
committerRob Mensching <rob@firegiant.com>2022-08-01 20:25:19 -0700
commita627ca9b720047e633a8fe72003ab9bee31006c5 (patch)
tree2bc8a924bb4141ab718e74d08f6459a0ffe8d573 /src/tools/heat/HeatCommandLineFactory.cs
parent521eb3c9cf38823a2c4019abb85dc0b3200b92cb (diff)
downloadwix-a627ca9b720047e633a8fe72003ab9bee31006c5.tar.gz
wix-a627ca9b720047e633a8fe72003ab9bee31006c5.tar.bz2
wix-a627ca9b720047e633a8fe72003ab9bee31006c5.zip
Create WixToolset.Heat.nupkg to distribute heat.exe and Heat targets
Moves Heat functionality to the "tools" layer and packages it all up in WixToolset.Heat.nupkg for distribution in WiX v4. Completes 6838
Diffstat (limited to 'src/tools/heat/HeatCommandLineFactory.cs')
-rw-r--r--src/tools/heat/HeatCommandLineFactory.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/tools/heat/HeatCommandLineFactory.cs b/src/tools/heat/HeatCommandLineFactory.cs
new file mode 100644
index 00000000..44291e48
--- /dev/null
+++ b/src/tools/heat/HeatCommandLineFactory.cs
@@ -0,0 +1,27 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Harvesters
4{
5 using System;
6 using System.Collections.Generic;
7 using WixToolset.Extensibility.Services;
8 using WixToolset.Harvesters.Data;
9 using WixToolset.Harvesters.Extensibility;
10
11 /// <summary>
12 /// Extension methods to use Harvesters services.
13 /// </summary>
14 public class HeatCommandLineFactory
15 {
16 /// <summary>
17 /// Creates <see cref="IHeatCommandLine"/> service.
18 /// </summary>
19 /// <param name="serviceProvider"></param>
20 /// <param name="heatExtensions"></param>
21 /// <returns></returns>
22 public static IHeatCommandLine CreateCommandLine(IServiceProvider serviceProvider, IEnumerable<IHeatExtension> heatExtensions = null)
23 {
24 return new HeatCommandLine(serviceProvider, heatExtensions);
25 }
26 }
27}