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

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

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