Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: bool ContainsKeys<TKey1, TKey2, TValue>(this IDictionary<TKey1, Dictionary<TKey2, TValue>>, TKey1, TKey2)

Declaration

public static bool ContainsKeys<TKey1, TKey2, TValue>(
    this IDictionary<TKey1, Dictionary<TKey2, TValue>> source,
    TKey1 key1,
    TKey2 key2
)

Summary

Determines whether the current two-level dictionary contains the specified combination of keys.

Generic type parameters

TKey1 Type of the first-level key.
TKey2 Type of the second-level key.
TValue Type of values in the dictionary.

Parameters

this IDictionary<TKey1, Dictionary<TKey2, TValue>>source Source dictionary to examine.
TKey1key1 The first key to check for.
TKey2key2 The second key to check for.