IBlobCache.Invalidate(string) method¶
Defined in
Type: IBlobCache
Namespace: Akavache
Assembly: Akavache.dll
Applies to
net11.0, net11.0-maccatalyst27.2, net11.0-android37.0, net11.0-windows10.0.19041, net11.0-macos27.2, net11.0-ios27.2, net10.0, net10.0-windows10.0.19041, net10.0-android36.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net48, net47, net471, net472, net481
Overloads¶
-
IObservable<RxVoid> Invalidate(string key) -
IObservable<RxVoid> Invalidate(string key, Type type) -
IObservable<RxVoid> Invalidate(IEnumerable<string> keys) -
IObservable<RxVoid> Invalidate(IEnumerable<string> keys, Type type)
1. Overload¶
IObservable<RxVoid> Invalidate(string key)
Summary: Remove a key from the cache. If the key doesn't exist, this method should do nothing and return (not throw KeyNotFoundException).
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to remove from the cache. |
Returns: IObservable
2. Overload¶
IObservable<RxVoid> Invalidate(string key, Type type)
Summary: Remove a key from the cache. If the key doesn't exist, this method should do nothing and return (not throw KeyNotFoundException).
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to remove from the cache. |
type | Type | The type. |
Returns: IObservable
3. Overload¶
IObservable<RxVoid> Invalidate(IEnumerable<string> keys)
Summary: Invalidates all the entries at the specified keys, causing them in future to have to be re-fetched.
Parameters
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys to invalid. |
Returns: IObservable
4. Overload¶
IObservable<RxVoid> Invalidate(IEnumerable<string> keys, Type type)
Summary: Invalidates all the entries at the specified keys, causing them in future to have to be re-fetched.
Parameters
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys to invalid. |
type | Type | The type to invalidate. |
Returns: IObservable