1 implementation of SetCacheItemAsync
Microsoft.Extensions.Caching.SqlServer (1)
DatabaseOperations.cs (1)
169
public async Task
SetCacheItemAsync
(string key, ArraySegment<byte> value, DistributedCacheEntryOptions options, CancellationToken token = default(CancellationToken))
2 references to SetCacheItemAsync
Microsoft.Extensions.Caching.SqlServer (2)
SqlServerCache.cs (2)
210
await _dbOperations.
SetCacheItemAsync
(key, new(value), options, token).ConfigureAwait(false);
228
await _dbOperations.
SetCacheItemAsync
(key, Linearize(value, out var lease), options, token).ConfigureAwait(false);