コード例 #1
0
 public void Push(ActivityUtilities.ChildActivity childActivity)
 {
     if (!childActivity.CanBeExecuted)
     {
         this.nonExecutingParentCount++;
     }
     this.callStack.PushFront(childActivity);
 }
コード例 #2
0
 public ActivityUtilities.ChildActivity Pop()
 {
     ActivityUtilities.ChildActivity activity = this.callStack.Dequeue();
     if (!activity.CanBeExecuted)
     {
         this.nonExecutingParentCount--;
     }
     return(activity);
 }