public TValue this[CompositeKey <TPrimaryKey, TSecondaryKey> key] { get { return(Get(key)); } }
public void Put(CompositeKey <TPrimaryKey, TSecondaryKey> key, TValue value) { Put(key.Primary, key.Secondary, value); }
public TValue Get(CompositeKey <TPrimaryKey, TSecondaryKey> key) { return(Get(key.Primary, key.Secondary)); }
public bool ContainsEntry(CompositeKey <TPrimaryKey, TSecondaryKey> key, TValue value) { return(ContainsEntry(key.Primary, key.Secondary, value)); }
public bool ContainsKey(CompositeKey <TPrimaryKey, TSecondaryKey> key) { return(ContainsKey(key.Primary, key.Secondary)); }
public bool Remove(CompositeKey <TPrimaryKey, TSecondaryKey> key) { throw new InvalidOperationException("Operation is not supported"); }
public void Put(CompositeKey <TPrimaryKey, TSecondaryKey> key, TValue value) { throw new InvalidOperationException("Operation is not supported"); }
/// <summary> /// Puts value into builded composite dictionary. /// </summary> /// <param name="key">Composite key</param> /// <param name="value">Value</param> /// <returns>Builder instance</returns> public ImmutableCompositeDictionaryBuilder <TPk, TSk, TV> Put(CompositeKey <TPk, TSk> key, TV value) { return(Put(key.Primary, key.Secondary, value)); }