/// <summary> /// Initializes a new instance of the <see cref="RedisClient"/> class. /// </summary> /// <param name="endpoint">The Redis endpoint.</param> /// <param name="options"><see cref="RedisClientOptions"/></param> public RedisClient(IPEndPoint endpoint, RedisClientOptions options = null) : this(new[] { endpoint }, options) { ParameterGuard.CannotBeNull(endpoint, "endpoint"); _endpoints = new[] { endpoint }; }
internal RedisResults(RESPObject[] responses, String[] commandHeaders = null) { ParameterGuard.CannotBeNull(responses, "responses"); _responses = responses; _results = new RedisResultInspector[_responses.Length]; }