Esempio n. 1
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

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

            await writer.WriteBulkStringAsync(_value);
        }
Esempio n. 2
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            await writer.WriteBulkStringAsync(_field);

            await writer.WriteIntegerAsync(_value);
        }
Esempio n. 3
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_source);

            await writer.WriteBulkStringAsync(_destination);

            await writer.WriteBulkStringAsync(_member);
        }
Esempio n. 4
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            foreach (var member in _members)
            {
                await writer.WriteBulkStringAsync(member);
            }
        }
Esempio n. 5
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_destination);

            foreach (var key in _keys)
            {
                await writer.WriteBulkStringAsync(key);
            }
        }
Esempio n. 6
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            foreach (var value in _values)
            {
                await writer.WriteBulkStringAsync(value);
            }
        }
Esempio n. 7
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            foreach (var field in _fields)
            {
                await writer.WriteBulkStringAsync(field);
            }
        }
Esempio n. 8
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            await writer.WriteBulkStringAsync("BEFORE");

            await writer.WriteBulkStringAsync(_before);

            await writer.WriteBulkStringAsync(_value);
        }
Esempio n. 9
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            await writer.WriteBulkStringAsync("AFTER");

            await writer.WriteBulkStringAsync(_after);

            await writer.WriteBulkStringAsync(_value);
        }
Esempio n. 10
0
 protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
 {
     if (_message != null)
     {
         await writer.WriteBulkStringAsync(_message);
     }
 }
Esempio n. 11
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            if (_count != null)
            {
                await writer.WriteIntegerAsync(_count.Value);
            }
        }
Esempio n. 12
0
 protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
 {
     await writer.WriteBulkStringAsync(_password);
 }
Esempio n. 13
0
        private async Task WriteStartCommandAsync(IAsyncRespWriter writer)
        {
            await writer.WriteStartArrayAsync();

            await writer.WriteBulkStringAsync(_name);
        }
Esempio n. 14
0
        protected override async Task WriteParametersAsync(IAsyncRespWriter writer)
        {
            await writer.WriteBulkStringAsync(_key);

            await writer.WriteBulkStringAsync(_member);
        }