blob: 02696d5bb8ebde98f16b4141916afc173216afe9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// 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.Extensibility
{
using Wix = WixToolset.Harvesters.Serialize;
/// <summary>
/// The base harvester extension. Any of these methods can be overridden to change
/// the behavior of the harvester.
/// </summary>
public abstract class BaseHarvesterExtension : IHarvesterExtension
{
/// <summary>
/// Gets or sets the harvester core for the extension.
/// </summary>
/// <value>The harvester core for the extension.</value>
public IHarvesterCore Core { get; set; }
/// <summary>
/// Harvest a WiX document.
/// </summary>
/// <param name="argument">The argument for harvesting.</param>
/// <returns>The harvested Fragments.</returns>
public abstract Wix.Fragment[] Harvest(string argument);
}
}
|