Exemple #1
0
            /// <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;
            }
Exemple #2
0
 public KeyValuePairsCollection(MultiDictionaryBase <TKey, TValue> myDictionary)
 {
     myDictionary.ShouldNotBeNull("myDictionary");
     _myDictionary = myDictionary;
 }
Exemple #3
0
 public EnumerableValuesCollection(MultiDictionaryBase <TKey, TValue> myDictionary)
 {
     myDictionary.ShouldNotBeNull("myDictionary");
     _myDictionary = myDictionary;
 }