public virtual void EvictCachedResult <TCacheEntryOptions>(ISyncCachedQuery <TCacheEntryOptions> query) { if (query == null) { throw new ArgumentNullException(nameof(query)); } query.EvictCachedResult(GetSyncQueryCache <TCacheEntryOptions>()); }
/// <inheritdoc cref="ISyncCacheManager.EvictCachedResult{TCacheEntryOptions}"/> public virtual void EvictCachedResult <TCacheEntryOptions>(ISyncCachedQuery <TCacheEntryOptions> query) { if (query == null) { throw new ArgumentNullException(nameof(query)); } Decorator.Decorate(GetOperationName(query, nameof(query.EvictCachedResult)), () => query.EvictCachedResult(GetSyncCacheStore <TCacheEntryOptions>())); }