aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Extensibility/IHarvesterCore.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Core/Extensibility/IHarvesterCore.cs48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/WixToolset.Core/Extensibility/IHarvesterCore.cs b/src/WixToolset.Core/Extensibility/IHarvesterCore.cs
deleted file mode 100644
index a9001b46..00000000
--- a/src/WixToolset.Core/Extensibility/IHarvesterCore.cs
+++ /dev/null
@@ -1,48 +0,0 @@
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
3namespace WixToolset
4{
5 using WixToolset.Extensibility.Services;
6
7 /// <summary>
8 /// The WiX Toolset harvester core.
9 /// </summary>
10 public interface IHarvesterCore
11 {
12 IMessaging Messaging { get; set; }
13
14 /// <summary>
15 /// Gets or sets the value of the extension argument passed to heat.
16 /// </summary>
17 /// <value>The extension argument.</value>
18 string ExtensionArgument { get; set; }
19
20 /// <summary>
21 /// Gets or sets the value of the root directory that is being harvested.
22 /// </summary>
23 /// <value>The root directory being harvested.</value>
24 string RootDirectory { get; set; }
25
26 /// <summary>
27 /// Create an identifier based on passed file name
28 /// </summary>
29 /// <param name="name">File name to generate identifer from</param>
30 /// <returns></returns>
31 string CreateIdentifierFromFilename(string filename);
32
33 /// <summary>
34 /// Generate an identifier by hashing data from the row.
35 /// </summary>
36 /// <param name="prefix">Three letter or less prefix for generated row identifier.</param>
37 /// <param name="args">Information to hash.</param>
38 /// <returns>The generated identifier.</returns>
39 string GenerateIdentifier(string prefix, params string[] args);
40
41 /// <summary>
42 /// Resolves a file's path if the Wix.File.Source value starts with "SourceDir\".
43 /// </summary>
44 /// <param name="fileSource">The Wix.File.Source value with "SourceDir\".</param>
45 /// <returns>The full path of the file.</returns>
46 string ResolveFilePath(string fileSource);
47 }
48}