SerializerExtensions.InvalidateObject(IBlobCache, string) method¶
Defined in
Type: SerializerExtensions
Namespace: ReactiveMarbles.CacheDatabase.Core
Assembly: ReactiveMarbles.CacheDatabase.Core.dll
Applies to
netstandard2.0
public static IObservable<Unit> InvalidateObject<T>(this IBlobCache blobCache, string key)
Summary: Invalidates a single object from the cache. It is important that the Type Parameter for this method be correct, and you cannot use IBlobCache.Invalidate to perform the same task.
Type parameters
| Name | Description |
|---|---|
T | The type of object associated with the blob. |
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | The blob cache. |
key | string | The key to invalidate. |
Returns: IObservable