Пример #1
0
 public bool Equals(KeysValuePair <TKey1, TKey2, TValue> other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Key1, Key1) && Equals(other.Key2, Key2) && Equals(other.Value, Value));
 }
Пример #2
0
 public MutileKeysDictionary <TKey1, TKey2, TValue> Add(KeysValuePair <TKey1, TKey2, TValue> keysValuePair)
 {
     return(Add(keysValuePair.Key1, keysValuePair.Key2, keysValuePair.Value));
 }