Class GenericEventArgs<T>
Provides a generic EventArgs subclass that can hold any kind of object
Inheritance
System.Object
System.EventArgs
GenericEventArgs<T>
Inherited Members
System.EventArgs.Empty
Namespace: MediaBrowser.Model.Events
Assembly: MediaBrowser.Model.dll
Syntax
public class GenericEventArgs<T> : EventArgs
Type Parameters
Name | Description |
---|---|
T |
Constructors
GenericEventArgs()
Initializes a new instance of the GenericEventArgs<T> class.
Declaration
public GenericEventArgs()
GenericEventArgs(T)
Initializes a new instance of the GenericEventArgs<T> class.
Declaration
public GenericEventArgs(T arg)
Parameters
Type | Name | Description |
---|---|---|
T | arg | The argument. |
Properties
Argument
Gets or sets the argument.
Declaration
public T Argument { get; set; }
Property Value
Type | Description |
---|---|
T | The argument. |