Enhanced C#
Language of your choice: library documentation
List of all members
Loyc.Collections.IDictionaryAndReadOnly< K, V > Interface Template Reference

This interface is meant to be implemented by read-only dictionary classes that originally implemented IDictionary<K, V> and now want to add its read-only version, IReadOnlyDictionary<K, V>. More...


Source file:
Inheritance diagram for Loyc.Collections.IDictionaryAndReadOnly< K, V >:
Loyc.Collections.IIndexed< K, V > Loyc.Collections.IDictionaryImpl< K, V > Loyc.Collections.IDictionaryEx< K, V > Loyc.Collections.BDictionary< K, V > Loyc.Collections.MMap< K, V >

Remarks

This interface is meant to be implemented by read-only dictionary classes that originally implemented IDictionary<K, V> and now want to add its read-only version, IReadOnlyDictionary<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< K, V >
this[K key] [get]
 Gets the value associated with the specified key. More...