main
cs 27 lines 1.01 KB
Raw
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
3 namespace 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 }