1 write to _cache
Microsoft.AspNetCore.Session.Tests (1)
SessionTests.cs (1)
1158_cache = new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()));
8 references to _cache
Microsoft.AspNetCore.Session.Tests (8)
SessionTests.cs (8)
1167return _cache.Get(key); 1181return _cache.GetAsync(key, token); 1184public void Refresh(string key) => _cache.Refresh(key); 1197return _cache.RefreshAsync(key); 1200public void Remove(string key) => _cache.Remove(key); 1202public Task RemoveAsync(string key, CancellationToken token = default) => _cache.RemoveAsync(key); 1204public void Set(string key, byte[] value, DistributedCacheEntryOptions options) => _cache.Set(key, value, options); 1217return _cache.SetAsync(key, value, options);