Table of Contents

Interface IIntermediateCache<TObject, TKey>

Namespace
DynamicData
Assembly
DynamicData.dll

An observable cache which exposes an update API.

Intended to be used as a helper for creating custom operators.

public interface IIntermediateCache<TObject, TKey> : IObservableCache<TObject, TKey>, IConnectableCache<TObject, TKey>, IDisposable where TObject : notnull where TKey : notnull

Type Parameters

TObject

The type of the object.

TKey

The type of the key.

Inherited Members
Extension Methods

Methods

Edit(Action<ICacheUpdater<TObject, TKey>>)

Action to apply a batch update to a cache. Multiple update methods can be invoked within a single batch operation. These operations are invoked within the cache's lock and is therefore thread safe. The result of the action will produce a single change set.

void Edit(Action<ICacheUpdater<TObject, TKey>> updateAction)

Parameters

updateAction Action<ICacheUpdater<TObject, TKey>>

The update action.