},System.Nullable{System.DateTimeOffset})} )} },System.Type,System.Nullable{System.DateTimeOffset})} )}
EncryptedSqliteBlobCache.Insert(IEnumerable>, DateTimeOffset?) method¶
Defined in
Type: EncryptedSqliteBlobCache
Namespace: ReactiveMarbles.CacheDatabase.EncryptedSqlite3
Assembly: ReactiveMarbles.CacheDatabase.EncryptedSqlite3.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public IObservable<Unit> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, DateTimeOffset? absoluteExpiration = null) - 2.
public IObservable<Unit> Insert(string key, byte[] data, DateTimeOffset? absoluteExpiration = null) - 3.
public IObservable<Unit> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, Type type, DateTimeOffset? absoluteExpiration = null) - 4.
public IObservable<Unit> Insert(string key, byte[] data, Type type, DateTimeOffset? absoluteExpiration = null)
1. Overload¶
public IObservable<Unit> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, DateTimeOffset? absoluteExpiration = null)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Inserts the specified key/value pairs into the blob.
Parameters
| Name | Type | Description |
|---|---|---|
keyValuePairs | IEnumerable | The key/value to insert. |
absoluteExpiration = null | DateTimeOffset? | An optional expiration date. |
Returns: IObservable
2. Overload¶
public IObservable<Unit> Insert(string key, byte[] data, DateTimeOffset? absoluteExpiration = null)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Insert a blob into the cache with the specified key and expiration date.
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to use for the data. |
data | byte[] | The data to save in the cache. |
absoluteExpiration = null | DateTimeOffset? | An optional expiration date. After the specified date, the key-value pair should be removed. |
Returns: IObservable
3. Overload¶
public IObservable<Unit> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, Type type, DateTimeOffset? absoluteExpiration = null)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Inserts the specified key/value pairs into the blob.
Parameters
| Name | Type | Description |
|---|---|---|
keyValuePairs | IEnumerable | The key/value to insert. |
type | Type | The type. |
absoluteExpiration = null | DateTimeOffset? | An optional expiration date. |
Returns: IObservable
4. Overload¶
public IObservable<Unit> Insert(string key, byte[] data, Type type, DateTimeOffset? absoluteExpiration = null)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Insert a blob into the cache with the specified key and expiration date.
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to use for the data. |
data | byte[] | The data to save in the cache. |
type | Type | The type. |
absoluteExpiration = null | DateTimeOffset? | An optional expiration date. After the specified date, the key-value pair should be removed. |
Returns: IObservable