コード例 #1
0
ファイル: RedisScan`1.cs プロジェクト: luchaoshuai/Aoite
 public void Dispose()
 {
     if (this._stack != null)
     {
         this._stack.Clear();
     }
     this._stack = null;
     this._scan  = null;
 }
コード例 #2
0
ファイル: RedisScan`1.cs プロジェクト: luchaoshuai/Aoite
 public Enumerator(RedisScan <T> scan, long cursor)
 {
     this._scan   = scan;
     this._cursor = cursor;
     this._stack  = new Queue <T>((int)scan._count + 1);
 }