示例#1
0
 public void StartListenMethod(MethodTrace methodTrace)
 {
     if (_stackMethods.Count == 0)
     {
         MethodList.Add(methodTrace);
     }
     else
     {
         _stackMethods.Peek().AddNestedMethod(methodTrace);
     }
     _stackMethods.Push(methodTrace);
 }
示例#2
0
 public void AddNestedMethod(MethodTrace nestedTrace)
 {
     NestedMethods.Add(nestedTrace);
 }