mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-25 15:08:37 +02:00
Clean up GenericEventArgs
This commit is contained in:
parent
e0c6172d23
commit
3ee940f7b3
|
@ -5,15 +5,9 @@ namespace MediaBrowser.Model.Events
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides a generic EventArgs subclass that can hold any kind of object.
|
/// Provides a generic EventArgs subclass that can hold any kind of object.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <typeparam name="T"></typeparam>
|
/// <typeparam name="T">The type of this event.</typeparam>
|
||||||
public class GenericEventArgs<T> : EventArgs
|
public class GenericEventArgs<T> : EventArgs
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets the argument.
|
|
||||||
/// </summary>
|
|
||||||
/// <value>The argument.</value>
|
|
||||||
public T Argument { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="GenericEventArgs{T}"/> class.
|
/// Initializes a new instance of the <see cref="GenericEventArgs{T}"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -22,5 +16,11 @@ namespace MediaBrowser.Model.Events
|
||||||
{
|
{
|
||||||
Argument = arg;
|
Argument = arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the argument.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The argument.</value>
|
||||||
|
public T Argument { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue