예제 #1
0
        public void StartTracingMethod(MethodLog methodLog)
        {
            if (_methodStackTrace.Count == 0)
            {
                AllMethods.Add(methodLog);
            }
            else
            {
                _methodStackTrace.Peek().AddNestedMethods(methodLog);
            }

            _methodStackTrace.Push(methodLog);
        }
예제 #2
0
 public void AddNestedMethods(MethodLog methodLog)
 {
     NestedMethods.Add(methodLog);
 }