[]
        
(Showing Draft Content)

C1.LiveLinq.LiveViews.View-1.Select

Select Method

Select<TResult>(Expression<Func<T, TResult>>)

Projects each element of a view into a new form.

Declaration
public View<TResult> Select<TResult>(Expression<Func<T, TResult>> selector)
Parameters
Type Name Description
Expression<Func<T, TResult>> selector

A transform function to apply to each element.

Returns
Type Description
View<TResult>

A view whose elements are the result of invoking the transform function on each element of this view.

Type Parameters
Name Description
TResult

The type of the value returned by selector.