6 implementations of RemoveAsync
Microsoft.AspNetCore.Session.Tests (1)
SessionTests.cs (1)
1202public Task RemoveAsync(string key, CancellationToken token = default) => _cache.RemoveAsync(key);
Microsoft.Extensions.Caching.Hybrid.Tests (2)
L2Tests.cs (1)
251Task IDistributedCache.RemoveAsync(string key, CancellationToken token)
StampedeTests.cs (1)
53Task IDistributedCache.RemoveAsync(string key, CancellationToken token) => throw new NotSupportedException("Intentionally not provided");
Microsoft.Extensions.Caching.Memory (1)
MemoryDistributedCache.cs (1)
147public Task RemoveAsync(string key, CancellationToken token = default(CancellationToken))
Microsoft.Extensions.Caching.SqlServer (1)
SqlServerCache.cs (1)
157public async Task RemoveAsync(string key, CancellationToken token = default(CancellationToken))
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCache.cs (1)
478public async Task RemoveAsync(string key, CancellationToken token = default)
10 references to RemoveAsync
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
152return _backendCache is null ? default : new(_backendCache.RemoveAsync(key, token));
Microsoft.Extensions.Caching.Hybrid.Tests (2)
DistributedCacheTests.cs (2)
114await cache.RemoveAsync(key); 242await cache.RemoveAsync(key);
Microsoft.Extensions.Caching.SqlServer.Tests (4)
SqlServerCacheWithDatabaseTest.cs (4)
112await cache.RemoveAsync(key); 152await cache.RemoveAsync(key); 193await cache.RemoveAsync(key); 680await cache.RemoveAsync(key);
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (3)
RedisCacheSetAndRemoveTests.cs (2)
121await cache.RemoveAsync(key); // known state 161await cache.RemoveAsync(key); // known state
TimeExpirationAsyncTests.cs (1)
274await cache.RemoveAsync(caller);