Пример #1
0
        private static void TraceThread1()
        {
            Thread anotherThread = new Thread(() => AnotherClass1.Method1(5, 6, 7));

            anotherThread.Start();
            anotherThread.Join();
        }
Пример #2
0
        private static void TraceClassMethods()
        {
            MainTracer.StartTrace();

            AnotherClass1.Method1(5, 6, 7);
            AnotherClass1.UnusualMethod();

            MainTracer.StopTrace();
        }