public static TValue GetValue <TKey, TValue>(this AsyncCache <TKey, TValue> cache, TKey key, Func <TKey, TValue> factory)
        {
            var options = cache.DefaultCacheCallOptions;

            options.Factory      = factory;
            options.AsyncFactory = null;
            return(cache.GetValue(key, options));
        }