Delegate AsyncEventHandler<TSender, TArgs>
- Namespace
- DisCatSharp.Common.Utilities
- Assembly
- DisCatSharp.Common.dll
Handles an asynchronous event of type AsyncEvent<TSender, TArgs>. The handler will take an instance
of TArgs
as its arguments.
public delegate Task AsyncEventHandler<in TSender, in TArgs>(TSender sender, TArgs e) where TArgs : AsyncEventArgs
Parameters
sender
TSenderObject which raised this event.
e
TArgsArguments for this event.
Returns
Type Parameters
TSender
Type of the object that dispatches this event.
TArgs
Type of the object which holds arguments for this event.
- Extension Methods