SetAsync<T>(string, T, Nullable<TimeSpan>)
public abstract ValueTask SetAsync<T>(string key, T value, Nullable<TimeSpan> overrideExpiration)
- Returns:
- ValueTask
Parameters
key
string
value
T
overrideExpiration
Nullable<TimeSpan>
Type Parameters
T
SetAsync<T>(IEnumerable<KeyValuePair<string, T>>)
public abstract ValueTask SetAsync<T>(IEnumerable<KeyValuePair<string, T>> items)
- Returns:
- ValueTask
Parameters
items
IEnumerable<KeyValuePair<string, T>>
Type Parameters
T
SetAsync<T>(IApplicationCache, T)
public static ValueTask SetAsync<T>(IApplicationCache cache, T item) where T : Redakt.Data.IIdentifiable
- Returns:
- ValueTask
Parameters
cache
IApplicationCache
item
T
Type Parameters
SetAsync<T>(IApplicationCache, IEnumerable<T>)
public static ValueTask SetAsync<T>(IApplicationCache cache, IEnumerable<T> items) where T : Redakt.Data.IIdentifiable
- Returns:
- ValueTask
Parameters
cache
IApplicationCache
items
IEnumerable<T>