Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
List of all members
Loyc.Collections.IDictionaryImpl< K, V > Interface Template Reference

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...


Source file:
Inheritance diagram for Loyc.Collections.IDictionaryImpl< K, V >:
Loyc.Collections.IDictionaryAndReadOnly< K, V > Loyc.Collections.IDictionarySink< in K, in V > Loyc.Collections.IDictionarySource< K, V > Loyc.Collections.IMIndexed< in K, V > Loyc.Collections.ITryGet< in K, out V > Loyc.Collections.IIndexedSink< in K, in V > Loyc.Collections.IIndexed< in K, out V > Loyc.Collections.ISource< out T > Loyc.Collections.ITryGet< in K, out V > Loyc.Collections.IIndexed< in K, out V > Loyc.Collections.IIndexedSink< in K, in V > Loyc.Collections.ICollectionAndReadOnly< T > Loyc.Collections.IIndexed< in K, out V > Loyc.Collections.Bijection< K1, K2 > Loyc.Collections.IDictionaryEx< K, V > Loyc.Collections.BDictionary< K, V > Loyc.Collections.IDictionaryExWithChangeEvents< K, V > Loyc.Collections.MMap< K, V >

Remarks

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 >
this[K key] [get]
 Gets the value associated with the specified key. More...
 
- Properties inherited from Loyc.Collections.IIndexedSink< in K, in 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 >
TryGet (K key, out bool fail)
 Gets the item for the specified key or index, and does not throw an exception on failure. More...