Search Results for

    Show / Hide Table of Contents

    Class AsyncEventDictionary<TKey, TEventArgs>

    A dictionary of event listeners keyed on a conditional parameter.

    Inheritance
    object
    EventDictionaryBase<TKey, AsyncEvent<TEventArgs>, Func<TEventArgs, Task>>
    AsyncEventDictionary<TKey, TEventArgs>
    Inherited Members
    EventDictionaryBase<TKey, AsyncEvent<TEventArgs>, Func<TEventArgs, Task>>.Listeners
    EventDictionaryBase<TKey, AsyncEvent<TEventArgs>, Func<TEventArgs, Task>>.AddListener(TKey, Func<TEventArgs, Task>)
    EventDictionaryBase<TKey, AsyncEvent<TEventArgs>, Func<TEventArgs, Task>>.RemoveListener(TKey, Func<TEventArgs, Task>)
    EventDictionaryBase<TKey, AsyncEvent<TEventArgs>, Func<TEventArgs, Task>>.Clear(TKey)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Utils
    Assembly: LemonEdge.Utils.dll
    Syntax
    public class AsyncEventDictionary<TKey, TEventArgs> : EventDictionaryBase<TKey, AsyncEvent<TEventArgs>, Func<TEventArgs, Task>>
    Type Parameters
    Name Description
    TKey

    The key condition.

    TEventArgs

    The event argument.

    Constructors

    AsyncEventDictionary()

    Declaration
    public AsyncEventDictionary()

    Methods

    OnChanged(TKey, TEventArgs)

    Declaration
    public Task OnChanged(TKey key, TEventArgs eventArgs)
    Parameters
    Type Name Description
    TKey key
    TEventArgs eventArgs
    Returns
    Type Description
    Task

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.