Open sandboxFocus

Delegate EventHandlerInvocationCallback<TDelegate, TArgs, TState>

Namespace: Metalama.Framework.RunTime.Events
Assembly: Metalama.Framework.dll
Syntax
public delegate void EventHandlerInvocationCallback<in TDelegate, TArgs, in TState>(TDelegate handler, ref TArgs args, TState state) where TDelegate : Delegate
Parameters
Type Name Description
TDelegate handler Delegate for the implementation of the method by .
TArgs args Delegate for the implementation of the method by .
TState state Delegate for the implementation of the method by .
Type Parameters
Name Description
TDelegate

Type of the delegate.

TArgs

Type of arguments (i.e. the arguments of TDelegate packed as a tuple).

TState

An opaque state stored by the EventBroker<TDelegate, TArgs, TState> and passed along to delegates.

Constructors

Name Description
EventHandlerInvocationCallback(object, nint)

Methods

Name Description
BeginInvoke(TDelegate, ref TArgs, TState, AsyncCallback, object)
EndInvoke(ref TArgs, IAsyncResult)
Invoke(TDelegate, ref TArgs, TState)

Extension Methods