|
Enhanced C#
Language of your choice: library documentation
|
This interface combines the original ICollection(T) interface with IReadOnlyCollection(T), ISinkCollection(T), and IAddRange(T), a convenient way to implement all three. More...
This interface combines the original ICollection(T) interface with IReadOnlyCollection(T), ISinkCollection(T), and IAddRange(T), a convenient way to implement all three.
IReadOnlyCollection(T) and ISinkCollection(T) are subsets of the ICollection(T) interface. ICollectionEx the following methods that ICollection(T) does not: AddRange() and RemoveAll().
Public Member Functions | |
| int | RemoveAll (Predicate< T > match) |
| Removes the all the elements that match the conditions defined by the specified predicate. More... | |
Public Member Functions inherited from Loyc.Collections.ISinkCollection< T > | |
| void | Clear () |
| bool | Remove (T item) |
Public Member Functions inherited from Loyc.Collections.IAdd< in T > | |
| void | Add (T item) |
Public Member Functions inherited from Loyc.Collections.IAddRange< T > | |
| void | AddRange (IEnumerable< T > e) |
| void | AddRange (IReadOnlyCollection< T > s) |
Additional Inherited Members | |
Properties inherited from Loyc.Collections.ICount | |
| int | Count [get] |
| Gets the number of items in the collection. More... | |
Properties inherited from Loyc.Collections.IIsEmpty | |
| bool | IsEmpty [get] |
| int Loyc.Collections.ICollectionEx< T >.RemoveAll | ( | Predicate< T > | match | ) |
Removes the all the elements that match the conditions defined by the specified predicate.
| match | A delegate that defines the conditions of the elements to remove |
Implemented in Loyc.Collections.ListSlice< T >, Loyc.Collections.DList< T >, Loyc.Collections.ReversedList< T >, and Loyc.Collections.Impl.ListExBase< T >.
1.8.7