Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | Public Member Functions | Protected fields | List of all members
Loyc.Collections.SelectList< ListT, T, TResult > Class Template Reference

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


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

Remarks

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

Template Parameters
Tinput type
TResultoutput type
ListTType of list being wrapped
Type Constraints
ListT :IList<T> 

Properties

new TResult this[int index] [get]
 
sealed override int Count [get]
 

Public Member Functions

 SelectList (ListT list, Func< T, TResult > selector)
 
override TResult TryGet (int index, out bool fail)
 

Protected fields

ListT _list
 
Func< T, TResult > _selector