In This Article

WeakEventListener<TInstance, TEventArgs>.EventAction<T1, T2, T3> Delegate

Provides the delegate for an event action.

public delegate void EventAction<T1, T2, T3>(T1 arg1, T2 arg2, T3 arg3);
Type Parameters:
T1 -

The first parameter type.

T2 -

The second parameter type.

T3 -

The third parameter type.

Parameters

Name Type Description
arg1 T1

The first argument.

arg2 T2

The second argument.

arg3 T3

The third argument.

Constructors

EventAction(Object, IntPtr)

public EventAction(object object, IntPtr method)
Parameter Type Description
object System.Object
method IntPtr

Methods

BeginInvoke(T1, T2, T3, AsyncCallback, Object)

public virtual IAsyncResult BeginInvoke(T1 arg1, T2 arg2, T3 arg3, AsyncCallback callback, object object)
Parameter Type Description
arg1 T1
arg2 T2
arg3 T3
callback System.AsyncCallback
object System.Object

Returns

System.IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)
Parameter Type Description
result System.IAsyncResult

Invoke(T1, T2, T3)

public virtual void Invoke(T1 arg1, T2 arg2, T3 arg3)
Parameter Type Description
arg1 T1
arg2 T2
arg3 T3