private async Task ResetExpirationTimeAsync <TValue>(ScopedCacheItem <TValue> cacheItem) { if (expireWithin.HasValue && useSlidingExpiration) { await InnerCache.SetIfNotExistsAsync(cacheItem).ConfigureAwait(false); cacheItem.ExpireIn = expireWithin.Value; await InnerCache.SetExpirationTimeAsync(cacheItem).ConfigureAwait(false); } }