Beispiel #1
0
 public bool TryGetValue(TK1 key1, TK2 key2, TK3 key3, out TValue value)
 {
     return(this.storage.TryGetValue(new Tuple <TK1, TK2, TK3>(key1, key2, key3), out value));
 }
Beispiel #2
0
 public bool TryAdd(TK1 key1, TK2 key2, TK3 key3, TValue value)
 {
     return(this.storage.TryAdd(new Tuple <TK1, TK2, TK3>(key1, key2, key3), value));
 }
Beispiel #3
0
 public IEnumerable <TV> this[TK1 firstKey]
 => from item in _parent._data where item.Key.Item1.Equals(firstKey) select item.Value;