Skip to content

SerializerExtensions.GetObjectCreatedAt(IBlobCache, string) method

Defined in

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

Applies to

netstandard2.0

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

View source

Summary: Returns the time that the object with the key was added to the cache, or returns null if the key isn't in the cache.

Type parameters

NameDescription
TThe type of object associated with the blob.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache.
keystringThe key to return the date for.

Returns: IObservable -- The date the key was created on.