mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-13 00:58:31 +00:00
33 lines
844 B
C#
33 lines
844 B
C#
using System;
|
|
|
|
namespace CUE.NET.Devices.Generic
|
|
{
|
|
/// <summary>
|
|
/// Represents the information supplied with an OnException-event.
|
|
/// </summary>
|
|
public class OnExceptionEventArgs : EventArgs
|
|
{
|
|
#region Properties & Fields
|
|
|
|
/// <summary>
|
|
/// Gets the exception which is responsible for the event-call.
|
|
/// </summary>
|
|
public Exception Exception { get; }
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="OnExceptionEventArgs"/> class.
|
|
/// </summary>
|
|
/// <param name="exception">The exception which is responsible for the event-call.</param>
|
|
public OnExceptionEventArgs(Exception exception)
|
|
{
|
|
this.Exception = exception;
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|