예제 #1
0
 public override IEnumerable <BulkString> Request(BulkStringFactory factory) => new[]
 {
     name,
     source.ToBulkString(factory),
     destination.ToBulkString(factory),
     timeout.ToBulkString(factory)
 };
예제 #2
0
파일: BRPOP.cs 프로젝트: pepelev/Rediska
        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));
        }