summaryrefslogtreecommitdiff
path: root/src/tools/heat/HeatCommandLineFactory.cs
diff options
context:
space:
mode:
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}