Esempio n. 1
0
 public CachingInterceptor(IDistributedInterceptCache distributedCache)
 {
     _distributedCache = distributedCache;
 }
Esempio n. 2
0
 public static async Task RemoveAsync(this IDistributedInterceptCache cache, string cacheKey, string cacheName, bool?hideErrors = null,
                                      CancellationToken token = default)
 {
     cache.UpdateCacheName(cacheName);
     await cache.RemoveAsync(cacheKey, hideErrors, token);
 }