Table of Contents

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 TSender

Object which raised this event.

e TArgs

Arguments for this event.

Returns

Task

Type Parameters

TSender

Type of the object that dispatches this event.

TArgs

Type of the object which holds arguments for this event.

Extension Methods