Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
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< in T > Loyc.Collections.ICollectionAndReadOnly< T > Loyc.Collections.IContains< in T > Loyc.Collections.IAdd< in T > Loyc.Collections.ICollectionEx< T > Loyc.Collections.IListImpl< T > Loyc.Collections.Impl.ReadOnlyCollectionBase< T > Loyc.Collections.MultiMap< K, V > Loyc.Collections.BDictionary< K, V > Loyc.Collections.BList< T > Loyc.Collections.ICollectionExWithChangeEvents< T > Loyc.Collections.IListEx< T > Loyc.Collections.ListSlice< T > Loyc.Collections.Impl.ListSourceBase< T > Loyc.Collections.Impl.ListSourceBase< T > Loyc.Collections.MultiMap< K, V >.ValueList

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< in 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< in T >
void Clear ()
 
bool Remove (T item)
 
- Public Member Functions inherited from Loyc.Collections.IAdd< in T >
void Add (T item)