Exemple #1
0
 public bool TryGetStack(out StackEntry stack)
 {
     if (HasStack())
     {
         stack = GetStack();
         return(true);
     }
     stack = default(StackEntry);
     return(false);
 }
Exemple #2
0
 public bool MoveNext()
 {
     if (_reader.HasStack())
     {
         Current = _reader.GetStack();
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #3
0
 public Enumerator(StackReader reader)
 {
     Current = default(StackEntry);
     _reader = reader;
 }