Table of Contents

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

T

Type 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

data T

Data 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

e GenericEventArgs<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

data T

Data to store.

Returns

GenericEventArgs<T>