コード例 #1
0
        public static ICacheServiceBuilder AddRedisCache(this ICacheServiceBuilder serviceBuilder, string configuration)
        {
            var configOptions = RedisCacheProvider.ParseConfigurationOptions(configuration);

            return(serviceBuilder.AddRedisCache(configOptions));
        }