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