Beispiel #1
0
 /// <summary>
 /// Creates a small multi-dictionary by copying the contents of
 /// another small multi-dictionary.
 /// </summary>
 /// <param name="other">The other multi-dictionary.</param>
 public SmallMultiDictionary(SmallMultiDictionary <TKey, TValue> other)
 {
     this.pairs = new ValueList <HashedKeyValuePair <TKey, TValue> >(other.pairs);
     this.keyEq = other.keyEq;
 }
Beispiel #2
0
 /// <summary>
 /// Inserts a range of items into this dictionary.
 /// </summary>
 public void AddRange(SmallMultiDictionary <TKey, TValue> Other)
 {
     pairs.AddRange(Other.pairs);
 }