InMemoryBlobCacheBase.Get(string) method¶
Defined in
Type: InMemoryBlobCacheBase
Namespace: Akavache
Assembly: Akavache.dll
Applies to
net10.0, net10.0-android36.0, net10.0-ios26.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-tvos26.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-desktop1.0, net9.0-browserwasm1.0, net9.0-macos15.0, net9.0-ios18.0, net9.0-android35.0, net8.0, net8.0-macos14.5, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-ios17.5, net8.0-tvos18.0, net8.0-macos15.0, net8.0-ios18.0, net8.0-windows10.0.19041, net8.0-maccatalyst18.0, net8.0-tvos17.2, netstandard2.1, net481, net462
Overloads¶
- 1.
public IObservable<byte[]?> Get(string key) - 2.
public IObservable<KeyValuePair<string, byte[]>> Get(IEnumerable<string> keys) - 3.
public IObservable<byte[]?> Get(string key, Type type) - 4.
public IObservable<KeyValuePair<string, byte[]>> Get(IEnumerable<string> keys, Type type)
1. Overload¶
public IObservable<byte[]?> Get(string key)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Retrieve a value from the key-value cache. If the key is not in the cache, this method should return an IObservable which OnError's with KeyNotFoundException.
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to return asynchronously. |
Returns: IObservable
2. Overload¶
public IObservable<KeyValuePair<string, byte[]>> Get(IEnumerable<string> keys)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Gets a observable of key value pairs with the specified keys with their corresponding values.
Parameters
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys to get the values for. |
Returns: IObservable
3. Overload¶
public IObservable<byte[]?> Get(string key, Type type)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Retrieve a value from the key-value cache. If the key is not in the cache, this method should return an IObservable which OnError's with KeyNotFoundException.
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to return asynchronously. |
type | Type | The type. |
Returns: IObservable
4. Overload¶
public IObservable<KeyValuePair<string, byte[]>> Get(IEnumerable<string> keys, Type type)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Gets a observable of key value pairs with the specified keys with their corresponding values.
Parameters
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys to get the values for. |
type | Type | The type. |
Returns: IObservable