1 implementation of SetCacheItemAsync
Microsoft.Extensions.Caching.SqlServer (1)
DatabaseOperations.cs (1)
169public 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)
210await _dbOperations.SetCacheItemAsync(key, new(value), options, token).ConfigureAwait(false); 228await _dbOperations.SetCacheItemAsync(key, Linearize(value, out var lease), options, token).ConfigureAwait(false);