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