Пример #1
0
 public override IEnumerable <BulkString> Request(BulkStringFactory factory) => new[]
 {
     name,
     source.ToBulkString(factory),
     destination.ToBulkString(factory),
     timeout.ToBulkString(factory)
 };
Пример #2
0
        public override IEnumerable <BulkString> Request(BulkStringFactory factory)
        {
            yield return(name);

            foreach (var key in keys)
            {
                yield return(key.ToBulkString(factory));
            }

            yield return(timeout.ToBulkString(factory));
        }