protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { foreach (var key in _keys) { await writer.WriteBulkStringAsync(key); } }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { if (_message != null) { await writer.WriteBulkStringAsync(_message); } }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); await writer.WriteBulkStringAsync(_index.ToString(CultureInfo.InvariantCulture)); await writer.WriteBulkStringAsync(_value); }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_source); await writer.WriteBulkStringAsync(_destination); await writer.WriteBulkStringAsync(_member); }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); await writer.WriteBulkStringAsync(_field); await writer.WriteIntegerAsync(_value); }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); foreach (var member in _members) { await writer.WriteBulkStringAsync(member); } }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); if (_count != null) { await writer.WriteIntegerAsync(_count.Value); } }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); foreach (var value in _values) { await writer.WriteBulkStringAsync(value); } }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); foreach (var field in _fields) { await writer.WriteBulkStringAsync(field); } }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); await writer.WriteBulkStringAsync("BEFORE"); await writer.WriteBulkStringAsync(_before); await writer.WriteBulkStringAsync(_value); }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); await writer.WriteBulkStringAsync("AFTER"); await writer.WriteBulkStringAsync(_after); await writer.WriteBulkStringAsync(_value); }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_password); }
private async Task WriteEndCommandAsync(IAsyncRespWriter writer) { await writer.WriteEndArrayAsync(); }
protected virtual Task WriteParametersAsync(IAsyncRespWriter writer) { return(Task.FromResult(0)); }
private async Task WriteStartCommandAsync(IAsyncRespWriter writer) { await writer.WriteStartArrayAsync(); await writer.WriteBulkStringAsync(_name); }
protected override async Task WriteParametersAsync(IAsyncRespWriter writer) { await writer.WriteBulkStringAsync(_key); await writer.WriteBulkStringAsync(_member); }