Class EventArgs<T1, T2>
- Namespace
- Arc4u
- Assembly
- Arc4u.dll
Define a generic event argument with both values of type T1 and T2.
public class EventArgs<T1, T2> : EventArgs
Type Parameters
T1The generic type used in the first event argument.
T2The generic type used in the second event argument.
- Inheritance
-
EventArgs<T1, T2>
- Inherited Members
Remarks
Create a new Event argument with the value assigned.
Constructors
EventArgs(T1, T2)
Define a generic event argument with both values of type T1 and T2.
public EventArgs(T1 value1, T2 value2)
Parameters
value1T1The first value of type T1.
value2T2The first value of type T2.
Remarks
Create a new Event argument with the value assigned.
Properties
Value
Get the value assigned during construction of the event argument.
public T1 Value { get; }
Property Value
- T1
Value2
Get the value assigned during construction of the event argument.
public T2 Value2 { get; }
Property Value
- T2