Example #1
0
        public CSRedisClient GenerateClientSync(RedisClientFactory endpoint)
        {
            var service = getService(endpoint.Type);

            return(service.GenerateClientSync(endpoint.Configuration));
        }
Example #2
0
        public async Task <CSRedisClient> GenerateClient(RedisClientFactory endpoint)
        {
            var service = getService(endpoint.Type);

            return(await service.GenerateClient(endpoint.Configuration));
        }