Beispiel #1
0
 public void StartListenMethod(MethodTrace methodInfo)
 {
     if (_stackOfMethods.Count == 0)
     {
         AllMethodsInfo.Add(methodInfo);
     }
     else
     {
         _stackOfMethods.Peek().AddNestedMethod(methodInfo);
     }
     _stackOfMethods.Push(methodInfo);
 }
Beispiel #2
0
 public void AddNestedMethod(MethodTrace nestedMethod)
 {
     NestedMethods.Add(nestedMethod);
 }