diff options
Diffstat (limited to 'src/tools/heat/Extensibility/IHarvester.cs')
-rw-r--r-- | src/tools/heat/Extensibility/IHarvester.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/tools/heat/Extensibility/IHarvester.cs b/src/tools/heat/Extensibility/IHarvester.cs new file mode 100644 index 00000000..6d363b50 --- /dev/null +++ b/src/tools/heat/Extensibility/IHarvester.cs | |||
@@ -0,0 +1,31 @@ | |||
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.Extensibility | ||
4 | { | ||
5 | using Wix = WixToolset.Harvesters.Serialize; | ||
6 | |||
7 | /// <summary> | ||
8 | /// Interface for the harvester. | ||
9 | /// </summary> | ||
10 | public interface IHarvester | ||
11 | { | ||
12 | /// <summary> | ||
13 | /// Gets or sets the harvester core for the extension. | ||
14 | /// </summary> | ||
15 | /// <value>The harvester core for the extension.</value> | ||
16 | IHarvesterCore Core { get; } | ||
17 | |||
18 | /// <summary> | ||
19 | /// Gets or sets the extension. | ||
20 | /// </summary> | ||
21 | /// <value>The extension.</value> | ||
22 | IHarvesterExtension Extension { get; set; } | ||
23 | |||
24 | /// <summary> | ||
25 | /// Harvest wix authoring. | ||
26 | /// </summary> | ||
27 | /// <param name="argument">The argument for harvesting.</param> | ||
28 | /// <returns>The harvested wix authoring.</returns> | ||
29 | Wix.Wix Harvest(string argument); | ||
30 | } | ||
31 | } | ||