/// <summary> /// Constructor. Initializes this collection. /// </summary> /// <param name="myDictionary">Dictionary we're using.</param> /// <param name="key">The key we're looking at.</param> public ValuesForKeyCollection(MultiDictionaryBase <TKey, TValue> myDictionary, TKey key) { myDictionary.ShouldNotBeNull("myDictionary"); _myDictionary = myDictionary; _key = key; }
public KeyValuePairsCollection(MultiDictionaryBase <TKey, TValue> myDictionary) { myDictionary.ShouldNotBeNull("myDictionary"); _myDictionary = myDictionary; }
public EnumerableValuesCollection(MultiDictionaryBase <TKey, TValue> myDictionary) { myDictionary.ShouldNotBeNull("myDictionary"); _myDictionary = myDictionary; }