Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Loyc.Collections.ICollectionAndReadOnly< T > Interface Template Reference

This interface is meant to be implemented by read-only sequence types that originally implemented ICollection{T} and want to now implement IReadOnlyCollection{T}. It is recommended to implement ICollectionAndSource{T} instead, but the latter requires you to implement a couple of additional methods. More...


Source file:
Inheritance diagram for Loyc.Collections.ICollectionAndReadOnly< T >:
Loyc.Collections.CollectionAsReadOnly< T > Loyc.Collections.ICollectionAndSource< T > Loyc.Collections.ICollectionImpl< T > Loyc.Collections.IDictionaryAndReadOnly< K, V > Loyc.Collections.IListAndReadOnly< T > Loyc.Collections.KeyCollection< TKey, TValue > Loyc.Collections.MSet< T > Loyc.Collections.ReadOnlyAsCollection< T > Loyc.Collections.Set< T > Loyc.Collections.ValueCollection< TKey, TValue >

Remarks

This interface is meant to be implemented by read-only sequence types that originally implemented ICollection{T} and want to now implement IReadOnlyCollection{T}. It is recommended to implement ICollectionAndSource{T} instead, but the latter requires you to implement a couple of additional methods.