summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/Logging/EventArgs/LogEventArgs.cs
blob: b9691e4a3b3e7f602200d063e2ccafdb7d1480c5 (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
33
34
35
36
37
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LogEventArgs.cs" company="HandBrake Project (http://handbrake.fr)">
//   This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
//   Defines the LogEventArgs type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace HandBrake.ApplicationServices.Services.Logging.EventArgs
{
    using System;

    using Model;

    /// <summary>
    /// The Message Logged Event Args
    /// </summary>
    public class LogEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="LogEventArgs"/> class.
        /// </summary>
        /// <param name="message">
        /// The message.
        /// </param>
        public LogEventArgs(LogMessage message)
        {
            this.Log = message;
        }

        /// <summary>
        /// Gets the Message.
        /// </summary>
        public LogMessage Log { get; private set; }
    }
}