Class ExperimentalEx
- Namespace
- DynamicData.Experimental
- Assembly
- DynamicData.dll
Experimental operator extensions.
public static class ExperimentalEx
- Inheritance
-
ExperimentalEx
Methods
AsWatcher<TObject, TKey>(IObservable<IChangeSet<TObject, TKey>>, IScheduler?)
Wraps the source cache, optimising it for watching individual updates.
public static IWatcher<TObject, TKey> AsWatcher<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, IScheduler? scheduler = null) where TObject : notnull where TKey : notnull
Parameters
source
IObservable<IChangeSet<TObject, TKey>>The source.
scheduler
ISchedulerThe scheduler.
Returns
- IWatcher<TObject, TKey>
The watcher.
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
Exceptions
- ArgumentNullException
source.