예제 #1
0
 public void PushNode(TraceTree node)
 {
     if (CallStack.Count == 0)
     {
         CallTree.Add(node);
     }
     else
     {
         CallStack.Peek().Children.Add(node);
     }
     CallStack.Push(node);
     node.StartTimer();
 }