Enhanced C#
Language of your choice: library documentation
|
Additional Inherited Members | |
Properties inherited from Loyc.Collections.IDictionaryEx< K, V > | |
new V | this[K key] [get, set] |
new ICollection< K > | Keys [get] |
new ICollection< V > | Values [get] |
Properties inherited from Loyc.Collections.IIndexed< K, V > | |
V | this[K key] [get] |
Gets the value associated with the specified key. More... | |
Properties inherited from Loyc.Collections.IDictionarySink< K, V > | |
V | this[K key] [set] |
Public Member Functions inherited from Loyc.Collections.IDictionaryEx< K, V > | |
new bool | ContainsKey (K key) |
new bool | TryGetValue (K key, out V value) |
new void | Add (K key, V value) |
new bool | Remove (K key) |
new void | Clear () |
Maybe< V > | GetAndRemove (K key) |
Gets the value associated with the specified key, then removes the pair with that key from the dictionary. More... | |
bool | GetAndEdit (ref K key, ref V value, DictEditMode mode) |
Combines a get and change operation into a single method call. You rarely need to call this method directly; the following extension methods are based on it: DictionaryExt.SwapIfPresent, DictionaryExt.AddIfNotPresent, DictionaryExt.AddOrGetExisting, DictionaryExt.ReplaceIfPresent, DictionaryExt.SetAndGet. More... | |
int | AddRange (IEnumerable< KeyValuePair< K, V >> data, DictEditMode mode) |
Merges the contents of the specified sequence into this map. More... | |
Public Member Functions inherited from Loyc.Collections.IDictionarySink< K, V > | |
void | Add (K key, V value) |
bool | Remove (K key) |
void | Clear () |
Public Member Functions inherited from Loyc.Collections.ITryGet< K, V > | |
V | TryGet (K key, out bool fail) |
Gets the item for the specified key or index, and does not throw an exception on failure. More... | |