Show / Hide Table of Contents

    Class DictionaryExtensions

    Inheritance
    Object
    DictionaryExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: P42.Utils
    Assembly: P42.Utils.dll
    Syntax
    public static class DictionaryExtensions

    Methods

    | Improve this Doc View Source

    ContainsKeyThatContains<TValue>(IDictionary<String, TValue>, String)

    Declaration
    public static bool ContainsKeyThatContains<TValue>(this IDictionary<string, TValue> dictionary, string subkey)
    Parameters
    Type Name Description
    IDictionary<String, TValue> dictionary
    String subkey
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TValue
    | Improve this Doc View Source

    ItemsWithKeysThatContain<TValue>(IDictionary<String, TValue>, String)

    Declaration
    public static List<TValue> ItemsWithKeysThatContain<TValue>(this IDictionary<string, TValue> dictionary, string subkey)
    Parameters
    Type Name Description
    IDictionary<String, TValue> dictionary
    String subkey
    Returns
    Type Description
    List<TValue>
    Type Parameters
    Name Description
    TValue
    | Improve this Doc View Source

    KeysThatContain<TValue>(IDictionary<String, TValue>, String)

    Declaration
    public static List<string> KeysThatContain<TValue>(this IDictionary<string, TValue> dictionary, string subkey)
    Parameters
    Type Name Description
    IDictionary<String, TValue> dictionary
    String subkey
    Returns
    Type Description
    List<String>
    Type Parameters
    Name Description
    TValue
    | Improve this Doc View Source

    TryGetKey<TKey, TValue>(IDictionary<TKey, TValue>, TValue, out TKey)

    Declaration
    public static bool TryGetKey<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TValue value, out TKey key)
    Parameters
    Type Name Description
    IDictionary<TKey, TValue> dictionary
    TValue value
    TKey key
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TKey
    TValue
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 42nd Parallel