Example #1
0
 protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
 {
     foreach (var key in _keys)
     {
         await writer.WriteBulkStringAsync(key);
     }
 }
Example #2
0
 protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
 {
     if (_message != null)
     {
         await writer.WriteBulkStringAsync(_message);
     }
 }
Example #3
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            await writer.WriteBulkStringAsync(_index.ToString(CultureInfo.InvariantCulture));

            await writer.WriteBulkStringAsync(_value);
        }
Example #4
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_source);

            await writer.WriteBulkStringAsync(_destination);

            await writer.WriteBulkStringAsync(_member);
        }
Example #5
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            await writer.WriteBulkStringAsync(_field);

            await writer.WriteIntegerAsync(_value);
        }
Example #6
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            foreach (var member in _members)
            {
                await writer.WriteBulkStringAsync(member);
            }
        }
Example #7
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            if (_count != null)
            {
                await writer.WriteIntegerAsync(_count.Value);
            }
        }
Example #8
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            foreach (var value in _values)
            {
                await writer.WriteBulkStringAsync(value);
            }
        }
Example #9
0
        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);
        }
Example #11
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            await writer.WriteBulkStringAsync("AFTER");

            await writer.WriteBulkStringAsync(_after);

            await writer.WriteBulkStringAsync(_value);
        }
Example #12
0
 protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
 {
     await writer.WriteBulkStringAsync(_password);
 }
Example #13
0
 private async Task WriteEndCommandAsync(IAsyncRespWriter writer)
 {
     await writer.WriteEndArrayAsync();
 }
Example #14
0
 protected virtual Task WriteParametersAsync(IAsyncRespWriter writer)
 {
     return(Task.FromResult(0));
 }
Example #15
0
        private async Task WriteStartCommandAsync(IAsyncRespWriter writer)
        {
            await writer.WriteStartArrayAsync();

            await writer.WriteBulkStringAsync(_name);
        }
Example #16
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            await writer.WriteBulkStringAsync(_member);
        }