#region License
// Copyright 2005-2019 Paul Kohler (https://github.com/paulkohler/minisqlquery). All rights reserved.
// This source code is made available under the terms of the GNU Lesser General Public License v3.0
// https://github.com/paulkohler/minisqlquery/blob/master/LICENSE
#endregion
using System;
namespace MiniSqlQuery.Core
{
///
/// A system wide message event.
///
public class SystemMessageEventArgs : EventArgs
{
///
/// Initializes a new instance of the class.
///
/// The system message.
/// The associated data.
public SystemMessageEventArgs(SystemMessage message, object data)
{
Message = message;
Data = data;
}
///
/// Gets the data for the event.
///
/// The event data.
public object Data { get; private set; }
///
/// Gets the system message type.
///
/// The system message type.
public SystemMessage Message { get; private set; }
}
}