// 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; /// /// Core facilities for inspector extensions. /// internal sealed class InspectorCore : IInspectorCore { /// /// Gets whether an error occured. /// /// Whether an error occured. public bool EncounteredError { get { return Messaging.Instance.EncounteredError; } } /// /// Logs a message to the log handler. /// /// The that contains information to log. public void OnMessage(MessageEventArgs e) { Messaging.Instance.OnMessage(e); } } }