Search Results for

    Show / Hide Table of Contents

    Delegate AsyncEventHandler<TSender, TArgs>

    Handles an asynchronous event of type AsyncEvent<TSender, TArgs>. The handler will take an instance of TArgs as its arguments.

    Namespace: DisCatSharp.Common.Utilities
    Assembly: DisCatSharp.Common.dll
    Syntax
    public delegate Task AsyncEventHandler<in TSender, in TArgs>(TSender sender, TArgs e)
        where TArgs : AsyncEventArgs;
    Parameters
    Type Name Description
    TSender sender

    Object which raised this event.

    TArgs e

    Arguments for this event.

    Returns
    Type Description
    System.Threading.Tasks.Task
    Type Parameters
    Name Description
    TSender

    Type of the object that dispatches this event.

    TArgs

    Type of the object which holds arguments for this event.

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems