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>(IReadOnlyCollection<T>)
T | : | TOut |
Properties | |
override int | Count [get] |
Properties inherited from Loyc.Collections.Impl.ListSourceBase< TOut > | |
abstract override int | Count [get] |
bool | IsEmpty [get] |
T | this[int index] [get] |
Public Member Functions | |
UpCastListSource (IListSource< T > original) | |
override TOut | TryGet (int index, out bool fail) |
Public Member Functions inherited from Loyc.Collections.Impl.ListSourceBase< TOut > | |
int | IndexOf (T item) |
Slice_< T > | Slice (int start, int count) |
override IEnumerator< T > | GetEnumerator () |
Additional Inherited Members | |
Protected Member Functions inherited from Loyc.Collections.Impl.ListSourceBase< TOut > | |
int | ThrowIndexOutOfRange (int index) |