Ejemplo n.º 1
0
        internal virtual async Task InitializeCache(CancellationToken token)
        {
            await CacheService.AddGet <TValue>(token).
            ConfigureAwait(false);

            await CacheService.AddSet <TValue>(token).
            ConfigureAwait(false);

            await CacheService.AddProperty <TValue>(token).
            ConfigureAwait(false);

            await CacheService.AddAttribute <TValue>(token).
            ConfigureAwait(false);
        }