diff options
author | Rob Mensching <rob@firegiant.com> | 2017-12-19 12:25:40 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-12-19 12:25:40 -0800 |
commit | 155a6e96346e0cb3d9ab6f5372fa29b46ebaee89 (patch) | |
tree | 59d1f151bfde8068b6014b05b5c8cfea3402c974 /src/WixToolset.Core/InspectorCore.cs | |
parent | 6f1665ed759b31bd095f186f9239232c653597cd (diff) | |
download | wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.tar.gz wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.tar.bz2 wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.zip |
Integrate simplified message handling
Diffstat (limited to 'src/WixToolset.Core/InspectorCore.cs')
-rw-r--r-- | src/WixToolset.Core/InspectorCore.cs | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/WixToolset.Core/InspectorCore.cs b/src/WixToolset.Core/InspectorCore.cs deleted file mode 100644 index 63b6af6e..00000000 --- a/src/WixToolset.Core/InspectorCore.cs +++ /dev/null | |||
@@ -1,32 +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 | |||
3 | namespace WixToolset | ||
4 | { | ||
5 | using System; | ||
6 | using WixToolset.Data; | ||
7 | using WixToolset.Extensibility; | ||
8 | |||
9 | /// <summary> | ||
10 | /// Core facilities for inspector extensions. | ||
11 | /// </summary> | ||
12 | internal sealed class InspectorCore : IInspectorCore | ||
13 | { | ||
14 | /// <summary> | ||
15 | /// Gets whether an error occured. | ||
16 | /// </summary> | ||
17 | /// <value>Whether an error occured.</value> | ||
18 | public bool EncounteredError | ||
19 | { | ||
20 | get { return Messaging.Instance.EncounteredError; } | ||
21 | } | ||
22 | |||
23 | /// <summary> | ||
24 | /// Logs a message to the log handler. | ||
25 | /// </summary> | ||
26 | /// <param name="e">The <see cref="MessageEventArgs"/> that contains information to log.</param> | ||
27 | public void OnMessage(MessageEventArgs e) | ||
28 | { | ||
29 | Messaging.Instance.OnMessage(e); | ||
30 | } | ||
31 | } | ||
32 | } | ||