Method ChangeKeyDynamically
ChangeKeyDynamically<TObject, TSourceKey, TDestinationKey>(IObservable<IChangeSet<TObject, TSourceKey>>, Expression<Func<TObject, TDestinationKey>>, out IObservableCache<TObject, TDestinationKey>)
Declaration
public static IDisposable ChangeKeyDynamically<TObject, TSourceKey, TDestinationKey>(this IObservable<IChangeSet<TObject, TSourceKey>> source, Expression<Func<TObject, TDestinationKey>> keySelectorExpression, out IObservableCache<TObject, TDestinationKey> cacheWithChangedKey) where TObject : INotifyPropertyChanged where TSourceKey : notnull where TDestinationKey : notnull
Parameters
Type |
Name |
Description |
IObservable<IChangeSet<TObject, TSourceKey>> |
source |
|
Expression<Func<TObject, TDestinationKey>> |
keySelectorExpression |
|
IObservableCache<TObject, TDestinationKey> |
cacheWithChangedKey |
|
Returns
Type Parameters
Name |
Description |
TObject |
|
TSourceKey |
|
TDestinationKey |
|