mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-07 16:55:08 +00:00
22 lines
409 B
C#
22 lines
409 B
C#
using System;
|
|
|
|
namespace ICD.Common.Utils.EventArguments
|
|
{
|
|
public class GenericEventArgs<T> : EventArgs, IGenericEventArgs<T>
|
|
{
|
|
/// <summary>
|
|
/// Gets the wrapped data associated with the event.
|
|
/// </summary>
|
|
public T Data { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Constructor.
|
|
/// </summary>
|
|
/// <param name="data"></param>
|
|
public GenericEventArgs(T data)
|
|
{
|
|
Data = data;
|
|
}
|
|
}
|
|
}
|