aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/BinderCore.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/BinderCore.cs')
-rw-r--r--src/WixToolset.Core/BinderCore.cs44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/WixToolset.Core/BinderCore.cs b/src/WixToolset.Core/BinderCore.cs
deleted file mode 100644
index 84173b99..00000000
--- a/src/WixToolset.Core/BinderCore.cs
+++ /dev/null
@@ -1,44 +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.Data;
6 using WixToolset.Extensibility;
7
8 /// <summary>
9 /// Core class for the binder.
10 /// </summary>
11 internal class BinderCore : IBinderCore
12 {
13 public 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 public bool EncounteredError
20 {
21 get { return Messaging.Instance.EncounteredError; }
22 }
23
24 /// <summary>
25 /// Generate an identifier by hashing data from the row.
26 /// </summary>
27 /// <param name="prefix">Three letter or less prefix for generated row identifier.</param>
28 /// <param name="args">Information to hash.</param>
29 /// <returns>The generated identifier.</returns>
30 public string CreateIdentifier(string prefix, params string[] args)
31 {
32 return Common.GenerateIdentifier(prefix, args);
33 }
34
35 /// <summary>
36 /// Sends a message to the message delegate if there is one.
37 /// </summary>
38 /// <param name="mea">Message event arguments.</param>
39 public void OnMessage(MessageEventArgs e)
40 {
41 Messaging.Instance.OnMessage(e);
42 }
43 }
44}