Exemplo n.º 1
0
 private void SetUp()
 {
     _threadTraceResult = new ThreadTraceResult(ThreadId);
     _methodTraceResult = new MethodTraceResult("class_name", "method_name")
     {
         Duration = Duration
     };
     _threadTraceResult.AddMethodTraceResult(_methodTraceResult);
 }
Exemplo n.º 2
0
        public ThreadTracer()
        {
            var threadId = Thread.CurrentThread.ManagedThreadId;

            ThreadTraceResult = new ThreadTraceResult(threadId);
        }