An implementation of IEventAdapter<TDelegate, TArgs, TState> based on delegates.
Implements
IEventAdapter<TDelegate, TArgs, TState>
Namespace: Metalama.Framework.RunTime.Events
Assembly: Metalama.Framework.dll
Syntax
public sealed class DelegateEventAdapter<TDelegate, TArgs, TState> : IEventAdapter<TDelegate, TArgs, TState> where TDelegate : DelegateType Parameters
| Name | Description |
|---|---|
| TDelegate | The event delegate type. |
| TArgs | The event arguments type (i.e. the arguments of |
| TState | An opaque state stored by the EventBroker<TDelegate, TArgs, TState> and passed along to delegates. |