Enhanced C#
Language of your choice: library documentation
List of all members
Loyc.Collections.ICollectionImpl< T > Interface Template Reference

This interface is intended to be implemented by editable collection classes that are not indexable lists nor dictionaries. It is recommended to implement ICollectionEx<T> instead, but the latter requires more effort. More...


Source file:
Inheritance diagram for Loyc.Collections.ICollectionImpl< T >:
Loyc.Collections.ICollectionSource< T > Loyc.Collections.ICollectionSink< T > Loyc.Collections.ICollectionAndReadOnly< T > Loyc.Collections.IContains< T > Loyc.Collections.ICollectionEx< T > Loyc.Collections.BList< T > Loyc.Collections.IListEx< T > Loyc.Collections.ListSlice< T > Loyc.Collections.AList< T > Loyc.Collections.DList< T > Loyc.Collections.Impl.ListExBase< T > Loyc.Collections.ISparseListEx< T > Loyc.Collections.ReversedList< T > Loyc.Collections.SparseAList< T > Loyc.Collections.IndexedAList< T > Loyc.Collections.SparseAList< T >

Remarks

This interface is intended to be implemented by editable collection classes that are not indexable lists nor dictionaries. It is recommended to implement ICollectionEx<T> instead, but the latter requires more effort.

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

- Public Member Functions inherited from Loyc.Collections.ICollectionSource< T >
void CopyTo (T[] array, int arrayIndex)
 Copies the elements of the collection to an Array, starting at a particular array index. More...
 
- Public Member Functions inherited from Loyc.Collections.IContains< T >
bool Contains (T item)
 Returns true if and only if the collection contains the specified item. More...
 
- Public Member Functions inherited from Loyc.Collections.ICollectionSink< T >
void Clear ()
 
bool Remove (T item)