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)
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
| 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 return the date for. |
Returns: IObservable