Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
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< in K, out V > Loyc.Collections.ICollectionAndReadOnly< T > Loyc.Collections.IDictionaryImpl< K, V > Loyc.Collections.IDictionaryWithChangeEvents< K, V > Loyc.Collections.Impl.DictionaryBase< TKey, TValue > Loyc.Collections.Impl.DictionaryWrapper< K, V, TDictionary > Loyc.Collections.TypeDictionaryWithBaseTypeLookups< Value > Loyc.Collections.Bijection< K1, K2 > Loyc.Collections.IDictionaryEx< K, V > Loyc.Collections.IDictionaryExWithChangeEvents< K, V > Loyc.Collections.Impl.DictionaryWithChangeEvents< K, V, TDictionary > Loyc.Collections.WeakKeyDictionary< TKey, TValue > Loyc.Collections.Impl.DictionaryWithChangeEvents< K, V, TDictionary > Loyc.Collections.BDictionary< K, V > Loyc.Collections.IDictionaryExWithChangeEvents< K, V > Loyc.Collections.MMap< K, V > Loyc.Collections.DictionaryWithChangeEvents< K, V > Loyc.Collections.DictionaryWithChangeEvents< 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< in K, out V >
this[K key] [get]
 Gets the value associated with the specified key. More...