[]
Projects each element of this view to a collection of collections, flattens the resulting collections into one collection, and invokes a result selector function on each element therein.
public View<TResult> SelectMany<TCollection, TResult>(Expression<Func<T, IObservableSource<TCollection>>> collectionSelector, Expression<Func<T, TCollection, TResult>> resultSelector)
Type | Name | Description |
---|---|---|
Expression<Func<T, IObservableSource<TCollection>>> | collectionSelector | A transform function to apply to each element of this view. |
Expression<Func<T, TCollection, TResult>> | resultSelector | A transform function to apply to each element of the intermediate collection. |
Type | Description |
---|---|
View<TResult> | A view whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of this view and then mapping each of those collection elements and their corresponding source element to a result element. |
Name | Description |
---|---|
TCollection | The type of the intermediate elements collected by collectionSelector. |
TResult | The type of the elements of the resulting view. |
Projects each element of this view to a collection of TResult and flattens the resulting collections into one view.
public View<TResult> SelectMany<TResult>(Expression<Func<T, IObservableSource<TResult>>> selector)
Type | Name | Description |
---|---|---|
Expression<Func<T, IObservableSource<TResult>>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
View<TResult> | A view whose elements are the result of invoking the one-to-many transform function on each element of this view. |
Name | Description |
---|---|
TResult | The type of the elements of the resulting view. |