aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/IBinderCore.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Extensibility/IBinderCore.cs')
-rw-r--r--src/WixToolset.Extensibility/IBinderCore.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/IBinderCore.cs b/src/WixToolset.Extensibility/IBinderCore.cs
new file mode 100644
index 00000000..a4044c11
--- /dev/null
+++ b/src/WixToolset.Extensibility/IBinderCore.cs
@@ -0,0 +1,35 @@
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.Extensibility
4{
5 using WixToolset.Data;
6
7 public interface IBinderCore : IMessageHandler
8 {
9 /// <summary>
10 /// Gets or sets the file manager core for the extension.
11 /// </summary>
12 /// <value>File manager core for the extension.</value>
13 IBinderFileManagerCore FileManagerCore { get; set; }
14
15 /// <summary>
16 /// Gets whether the binder core encountered an error while processing.
17 /// </summary>
18 /// <value>Flag if core encountered an error during processing.</value>
19 bool EncounteredError { get; }
20
21 /// <summary>
22 /// Gets the table definitions used by the Binder.
23 /// </summary>
24 /// <value>Table definitions used by the binder.</value>
25 TableDefinitionCollection TableDefinitions { get; }
26
27 /// <summary>
28 /// Generate an identifier by hashing data from the row.
29 /// </summary>
30 /// <param name="prefix">Three letter or less prefix for generated row identifier.</param>
31 /// <param name="args">Information to hash.</param>
32 /// <returns>The generated identifier.</returns>
33 string CreateIdentifier(string prefix, params string[] args);
34 }
35}