|
Enhanced C#
Loyc library documentation
|
This interface is intended to be implemented by all Loyc collections that implement IDictionary{K,V}. It combines the original IDictionary{K,V} interface with its component interfaces IReadOnlyDictionary{K,V} and IDictionarySink{K,V}, as well as the trivial interface IMIndexed{K,V}. More...
This interface is intended to be implemented by all Loyc collections that implement IDictionary{K,V}. It combines the original IDictionary{K,V} interface with its component interfaces IReadOnlyDictionary{K,V} and IDictionarySink{K,V}, as well as the trivial interface IMIndexed{K,V}.
This interface is used in C# for disambiguation (as explained in the description of IListImpl{T}.) Variables should not have this type (except in disambiguation methods, which immediately cast the variable to another type).
Additional Inherited Members | |
Properties inherited from Loyc.Collections.IIndexed< in K, out V > | |
| V | this[K key] [get] |
| Gets the value associated with the specified key. More... | |
Properties inherited from Loyc.Collections.IIndexedSink< in K, in V > | |
| V | this[K key] [set] |
Properties inherited from Loyc.Collections.ISource< out T > | |
| new int | Count [get] |
| Gets the number of items in the collection. More... | |
Properties inherited from Loyc.Collections.ICount | |
| int | Count [get] |
| Gets the number of items in the collection. More... | |
Properties inherited from Loyc.Collections.IIsEmpty | |
| bool | IsEmpty [get] |
Properties inherited from Loyc.Collections.IMIndexed< in K, V > | |
| new V | this[K key] [get, set] |
| Gets the value associated with the specified key. More... | |
Public Member Functions inherited from Loyc.Collections.IDictionarySink< in K, in V > | |
| void | Add (K key, V value) |
| bool | Remove (K key) |
| void | Clear () |
Public Member Functions inherited from Loyc.Collections.ITryGet< in K, out 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... | |
1.8.7