示例#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);
 }