Пример #1
0
 public void Push(BranchOption op)
 {
     BranchOpStack.Push(op);
 }
Пример #2
0
 /// <summary>
 /// Discard the top item on the stack
 /// and replace it with the provided value
 /// </summary>
 /// <param name="op"></param>
 /// <returns></returns>
 public void Replace(BranchOption op)
 {
     Discard();
     Push(op);
 }