Beispiel #1
0
    public static void DoSomething()
    {
        CallTracer.Start(System.Reflection.MethodBase.GetCurrentMethod());
        MyObject obj = new MyObject();

        obj.DoSomething(-1);
        try {
            obj.DoSomethingAssert(-1);
        }
        catch (Exception except) {
            CallTracer.Output(except.Message);
            ;
        }
        CallTracer.End();
    }