| 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 | } |