The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

ObservableCacheAlias.

Select<TDestination, TSource, TKey>(IObservable<IChangeSet<TSource, TKey>>, Func<TSource, TKey, TDestination>, IObservable<Func<TSource, TKey, bool>>) Method

Summary

Projects each update item to a new form using the specified transform function
Namespace
DynamicData.Alias
Containing Type
ObservableCacheAlias

Syntax

public static IObservable<IChangeSet<TDestination, TKey>> Select<TDestination, TSource, TKey>(this IObservable<IChangeSet<TSource, TKey>> source, Func<TSource, TKey, TDestination> transformFactory, IObservable<Func<TSource, TKey, bool>> forceTransform = null)

Type Parameters

Name Description
TDestination The type of the destination.
TSource The type of the source.
TKey The type of the key.

Parameters

Name Type Description
source IObservable<IChangeSet<TSource, TKey>> The source.
transformFactory Func<TSource, TKey, TDestination> The transform factory.
forceTransform IObservable<Func<TSource, TKey, bool>> Invoke to force a new transform for items matching the selected objects

Return Value

Type Description
IObservable<IChangeSet<TDestination, TKey>> A transformed update collection