Beispiel #1
0
 public void Dispose()
 {
     if (this._stack != null)
     {
         this._stack.Clear();
     }
     this._stack = null;
     this._scan  = null;
 }
Beispiel #2
0
 public Enumerator(RedisScan <T> scan, long cursor)
 {
     this._scan   = scan;
     this._cursor = cursor;
     this._stack  = new Queue <T>((int)scan._count + 1);
 }