,System.TimeSpan)} ,System.Type,System.TimeSpan)}
RelativeTimeExtensions.UpdateExpiration(IBlobCache, string, TimeSpan) method¶
Defined in
Type: RelativeTimeExtensions
Namespace: Akavache.Reactive
Assembly: Akavache.Reactive.dll
Applies to
net10.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-android36.0, net10.0-windows10.0.19041, net10.0-macos26.0, net9.0, net9.0-windows10.0.19041, net8.0, net8.0-windows10.0.19041, net462, net481
Overloads¶
-
public static IObservable<Unit> UpdateExpiration(this IBlobCache blobCache, string key, TimeSpan expiration) -
public static IObservable<Unit> UpdateExpiration(this IBlobCache blobCache, string key, Type type, TimeSpan expiration) -
public static IObservable<Unit> UpdateExpiration(this IBlobCache blobCache, IEnumerable<string> keys, TimeSpan expiration) -
public static IObservable<Unit> UpdateExpiration(this IBlobCache blobCache, IEnumerable<string> keys, Type type, TimeSpan expiration)
1. Overload¶
public static IObservable<Unit> UpdateExpiration(this IBlobCache blobCache, string key, TimeSpan expiration)
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | -- |
key | string | -- |
expiration | TimeSpan | -- |
Returns: IObservable
2. Overload¶
public static IObservable<Unit> UpdateExpiration(this IBlobCache blobCache, string key, Type type, TimeSpan expiration)
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | -- |
key | string | -- |
type | Type | -- |
expiration | TimeSpan | -- |
Returns: IObservable
3. Overload¶
public static IObservable<Unit> UpdateExpiration(this IBlobCache blobCache, IEnumerable<string> keys, TimeSpan expiration)
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | -- |
keys | IEnumerable | -- |
expiration | TimeSpan | -- |
Returns: IObservable
4. Overload¶
public static IObservable<Unit> UpdateExpiration(this IBlobCache blobCache, IEnumerable<string> keys, Type type, TimeSpan expiration)
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | -- |
keys | IEnumerable | -- |
type | Type | -- |
expiration | TimeSpan | -- |
Returns: IObservable