Class GenericEventArgs<T>
- Namespace
- Icy.Data
- Assembly
- IcyUI.dll
A class for any event args with data of given type.
public class GenericEventArgs<T> : EventArgs, IDataEventArgs<T>, IDataEventArgs
Type Parameters
TType fo data stored in the event args.
- Inheritance
-
GenericEventArgs<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
GenericEventArgs(T)
Initializes a new instance of the GenericEventArgs<T> class.
public GenericEventArgs(T data)
Parameters
dataTData to keep.
Properties
Data
Gets data to store.
public T Data { get; }
Property Value
- T
Operators
explicit operator T(GenericEventArgs<T>)
Explicitly gets the data of the given GenericEventArgs<T> instance.
public static explicit operator T(GenericEventArgs<T> e)
Parameters
eGenericEventArgs<T>Arguments to get data from.
Returns
- T
implicit operator GenericEventArgs<T>(T)
Implicitly converts data to the GenericEventArgs<T> type.
public static implicit operator GenericEventArgs<T>(T data)
Parameters
dataTData to store.