Skip to content

SerializerExtensions.GetObject(IBlobCache, string) method

Defined in

Type: SerializerExtensions Namespace: ReactiveMarbles.CacheDatabase.Core Assembly: ReactiveMarbles.CacheDatabase.Core.dll

Applies to

netstandard2.0

public static IObservable<T?> GetObject<T>(this IBlobCache blobCache, string key)

View source

Summary: Get an object from the cache and deserialize it via the JSON serializer.

Type parameters

NameDescription
TThe type of object associated with the blob.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache.
keystringThe key to look up in the cache.

Returns: IObservable -- A Future result representing the object in the cache.