blob: 63b6af6eb17fddeaad499773fb4e15bbb346b41f (
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
27
28
29
30
31
32
|
// 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
{
using System;
using WixToolset.Data;
using WixToolset.Extensibility;
/// <summary>
/// Core facilities for inspector extensions.
/// </summary>
internal sealed class InspectorCore : IInspectorCore
{
/// <summary>
/// Gets whether an error occured.
/// </summary>
/// <value>Whether an error occured.</value>
public bool EncounteredError
{
get { return Messaging.Instance.EncounteredError; }
}
/// <summary>
/// Logs a message to the log handler.
/// </summary>
/// <param name="e">The <see cref="MessageEventArgs"/> that contains information to log.</param>
public void OnMessage(MessageEventArgs e)
{
Messaging.Instance.OnMessage(e);
}
}
}
|