Search Results for

    Show / Hide Table of Contents

    Class ThreadSafeMap<TKey, TValue>

    Inheritance
    object
    ThreadSafeMap<TKey, TValue>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    public class ThreadSafeMap<TKey, TValue> where TKey : notnull
    Type Parameters
    Name Description
    TKey
    TValue

    Constructors

    | Edit this page View Source

    ThreadSafeMap(Func<TKey, TValue>)

    Declaration
    public ThreadSafeMap(Func<TKey, TValue> defaultFactory)
    Parameters
    Type Name Description
    Func<TKey, TValue> defaultFactory

    Methods

    | Edit this page View Source

    Get(TKey)

    Declaration
    public TValue Get(TKey key)
    Parameters
    Type Name Description
    TKey key
    Returns
    Type Description
    TValue
    | Edit this page View Source

    GetDictionary()

    Declaration
    public Dictionary<TKey, TValue> GetDictionary()
    Returns
    Type Description
    Dictionary<TKey, TValue>

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation