Class DictionaryUtility | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class DictionaryUtility

    Inheritance
    Object
    DictionaryUtility
    Namespace: Ludiq
    Syntax
    public static class DictionaryUtility

    Methods

    GetValueOrDefault<TKey, TValue>(IKeyedCollection<TKey, TValue>, TKey)

    Declaration
    public static TValue GetValueOrDefault<TKey, TValue>(this IKeyedCollection<TKey, TValue> dictionary, TKey key)
    Parameters
    Type Name Description
    IKeyedCollection<TKey, TValue> dictionary
    TKey key
    Returns
    Type Description
    TValue
    Type Parameters
    Name Description
    TKey
    TValue

    GetValueOrDefault<TKey, TValue>(Dictionary<TKey, TValue>, TKey)

    Declaration
    public static TValue GetValueOrDefault<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key)
    Parameters
    Type Name Description
    Dictionary<TKey, TValue> dictionary
    TKey key
    Returns
    Type Description
    TValue
    Type Parameters
    Name Description
    TKey
    TValue

    GetValueOrDefault<TKey, TValue>(IDictionary<TKey, TValue>, TKey)

    Declaration
    public static TValue GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
    Parameters
    Type Name Description
    IDictionary<TKey, TValue> dictionary
    TKey key
    Returns
    Type Description
    TValue
    Type Parameters
    Name Description
    TKey
    TValue

    GetValueOrDefault<TKey, TValue>(IReadOnlyDictionary<TKey, TValue>, TKey)

    Declaration
    public static TValue GetValueOrDefault<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue> dictionary, TKey key)
    Parameters
    Type Name Description
    IReadOnlyDictionary<TKey, TValue> dictionary
    TKey key
    Returns
    Type Description
    TValue
    Type Parameters
    Name Description
    TKey
    TValue

    Merge(IDictionary, IDictionary)

    Declaration
    public static IDictionary Merge(this IDictionary destination, IDictionary source)
    Parameters
    Type Name Description
    IDictionary destination
    IDictionary source
    Returns
    Type Description
    IDictionary

    Merge(IDictionary, IDictionary[])

    Declaration
    public static IDictionary Merge(this IDictionary destination, params IDictionary[] sources)
    Parameters
    Type Name Description
    IDictionary destination
    IDictionary[] sources
    Returns
    Type Description
    IDictionary
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX