Class EchoDictionary<TKey, TValue>
Properties
Count
Declaration
public int Count { get; }
this[TKey]
Declaration
public TValue this[TKey key] { get; set; }
this[TValue]
Declaration
public TKey this[TValue tValue] { get; set; }
Methods
Add(TKey, TValue)
Declaration
public void Add(TKey key, TValue value)
Clear()
Declaration
public void Clear()
ContainsAny(TKey, TValue)
Declaration
public bool ContainsAny(TKey key, TValue value)
ContainsKey(TKey)
Declaration
public bool ContainsKey(TKey key)
ContainsPair(TKey, TValue)
Declaration
public bool ContainsPair(TKey key, TValue value)
ContainsValue(TValue)
Declaration
public bool ContainsValue(TValue value)
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<KeyValuePair<TKey, TValue>> | An enumerator that can be used to iterate through the collection. |
GetKey(TValue)
Declaration
public TKey GetKey(TValue value)
GetValue(TKey)
Declaration
public TValue GetValue(TKey key)
Remove(TKey)
Declaration
public bool Remove(TKey key)
Remove(TKey, out TValue)
Declaration
public bool Remove(TKey key, out TValue value)
Remove(TValue)
Declaration
public bool Remove(TValue value)
Remove(TValue, out TKey)
Declaration
public bool Remove(TValue value, out TKey key)
SetValue(TKey, TValue)
Declaration
public void SetValue(TKey key, TValue value)
TryAdd(TKey, TValue)
Declaration
public bool TryAdd(TKey key, TValue value)
TryGetKey(TValue, out TKey)
Declaration
public bool TryGetKey(TValue value, out TKey key)
TryGetValue(TKey, out TValue)
Declaration
public bool TryGetValue(TKey key, out TValue value)