Show / Hide Table of Contents

    Delegate AsyncEventHandler<TEventArgs>

    Delegate for asynchronous events.

    Namespace: Fibula.Common.Contracts.Delegates
    Assembly: Fibula.Common.Contracts.dll
    Syntax
    public delegate Task AsyncEventHandler<TEventArgs>(object sender, TEventArgs e, CancellationToken token);
    Parameters
    Type Name Description
    System.Object sender

    The sender of the event.

    TEventArgs e

    The event arguments.

    System.Threading.CancellationToken token

    A token to observe for cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous event.

    Type Parameters
    Name Description
    TEventArgs

    The type of event arguments.

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.