Skip to content

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)

View source

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

NameDescription
TThe type of object associated with the blob.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache.
keystringThe key to invalidate.

Returns: IObservable -- A Future result representing the completion of the invalidation.