Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | Public Member Functions | Protected fields | List of all members
Loyc.Collections.SelectListSource< T, TResult > Class Template Reference

Helper class: provides a modified view of an IListSource by transforming each element on-demand. Objects of this type are returned from LCExt.Select{T,TResult}(IListSource{T},Func{T,TResult}) More...


Source file:
Inheritance diagram for Loyc.Collections.SelectListSource< T, TResult >:

Remarks

Helper class: provides a modified view of an IListSource by transforming each element on-demand. Objects of this type are returned from LCExt.Select{T,TResult}(IListSource{T},Func{T,TResult})

Template Parameters
Tinput type
TResultoutput type

Properties

IListSource< T > OriginalList [get]
 
new TResult this[int index] [get]
 
sealed override int Count [get]
 

Public Member Functions

 SelectListSource (IListSource< T > list, Func< T, TResult > selector)
 
sealed override TResult TryGet (int index, out bool fail)
 

Protected fields

IListSource< T > _list
 
Func< T, TResult > _selector