9 implementations of Remove
Microsoft.AspNetCore.Session.Tests (1)
SessionTests.cs (1)
1200public void Remove(string key) => _cache.Remove(key);
Microsoft.Extensions.AI.Tests (1)
TestInMemoryCacheStorage.cs (1)
32public void Remove(string key)
Microsoft.Extensions.Caching.Hybrid.Tests (4)
L2Tests.cs (1)
244void IDistributedCache.Remove(string key)
NullDistributedCache.cs (1)
19void IDistributedCache.Remove(string key)
StampedeTests.cs (1)
49void IDistributedCache.Remove(string key) => throw new NotSupportedException("Intentionally not provided");
UnreliableL2Tests.cs (1)
171public void Remove(string key) => throw new NotSupportedException(); // only async API in use
Microsoft.Extensions.Caching.Memory (1)
MemoryDistributedCache.cs (1)
134public void Remove(string key)
Microsoft.Extensions.Caching.SqlServer (1)
SqlServerCache.cs (1)
147public void Remove(string key)
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCache.cs (1)
461public void Remove(string key)
6 references to Remove
Microsoft.Extensions.Caching.Hybrid.Tests (2)
DistributedCacheTests.cs (2)
68cache.Remove(key); 180cache.Remove(key);
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (4)
RedisCacheSetAndRemoveTests.cs (3)
87cache.Remove(key); 107cache.Remove(key); // known state 138cache.Remove(key); // known state
TimeExpirationTests.cs (1)
259cache.Remove(caller);