Пример #1
0
 protected CursorEnumerable(RedisBase redis, ServerEndPoint server, int db, int pageSize, long cursor, int pageOffset, CommandFlags flags)
 {
     if (pageOffset < 0)
     {
         throw new ArgumentOutOfRangeException("pageOffset");
     }
     this.redis         = redis;
     this.server        = server;
     this.db            = db;
     this.pageSize      = pageSize;
     this.flags         = flags;
     this.initialCursor = cursor;
     this.initialOffset = pageOffset;
 }
Пример #2
0
 private protected CursorEnumerable(RedisBase redis, ServerEndPoint server, int db, int pageSize, in RedisValue cursor, int pageOffset, CommandFlags flags)