Enhanced C#
Language of your choice: library documentation
|
Helper class for treating a collection of a derived type as a collection of a base type or interface. More...
Helper class for treating a collection of a derived type as a collection of a base type or interface.
LCExt.UpCast<T, TResult>(IListSource<T>)
T | : | TOut |
Properties | |
override int | Count [get] |
Properties inherited from Loyc.Collections.Impl.ReadOnlyCollectionBase< TOut > | |
abstract int | Count [get] |
Public Member Functions | |
UpCastSource (IReadOnlyCollection< T > source) | |
override IEnumerator< TOut > | GetEnumerator () |
Public Member Functions inherited from Loyc.Collections.Impl.ReadOnlyCollectionBase< TOut > | |
bool | Contains (T item) |
Protected fields | |
IReadOnlyCollection< T > | s |