>
Defined in Type: SerializerExtensions
Namespace: ReactiveMarbles.CacheDatabase.Core
Assembly: ReactiveMarbles.CacheDatabase.Core.dll
Applies to
netstandard2.0
public static IObservable<Unit> InsertAllObjects<T>(this IBlobCache blobCache, IEnumerable<KeyValuePair<string, T>> keyValuePairs, DateTimeOffset? absoluteExpiration = null)
Summary: Insert several objects into the cache, via the JSON serializer. Similarly to InsertAll, partial inserts should not happen.
Type parameters
| Name | Description |
|---|---|
T | The type of item. |
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | The cache to insert the items. |
keyValuePairs | IEnumerable | The data to insert into the cache. |
absoluteExpiration = null | DateTimeOffset? | An optional expiration date. |
Returns: IObservable