From 35606d2cd04a7b1bec1d669f9619501dff2bf9dc Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 22 Apr 2021 17:38:36 -0700 Subject: Simplify heat by creating a single executable --- src/heat/HeatCommandLineFactory.cs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/heat/HeatCommandLineFactory.cs (limited to 'src/heat/HeatCommandLineFactory.cs') diff --git a/src/heat/HeatCommandLineFactory.cs b/src/heat/HeatCommandLineFactory.cs new file mode 100644 index 00000000..44291e48 --- /dev/null +++ b/src/heat/HeatCommandLineFactory.cs @@ -0,0 +1,27 @@ +// 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. + +namespace WixToolset.Harvesters +{ + using System; + using System.Collections.Generic; + using WixToolset.Extensibility.Services; + using WixToolset.Harvesters.Data; + using WixToolset.Harvesters.Extensibility; + + /// + /// Extension methods to use Harvesters services. + /// + public class HeatCommandLineFactory + { + /// + /// Creates service. + /// + /// + /// + /// + public static IHeatCommandLine CreateCommandLine(IServiceProvider serviceProvider, IEnumerable heatExtensions = null) + { + return new HeatCommandLine(serviceProvider, heatExtensions); + } + } +} -- cgit v1.2.3-55-g6feb