Beispiel #1
0
        protected static void DumpDataWithBreak(string text, params object[] p)
        {
            var os = Tracer.DumpData(text, p, 1);

            Tracer.Line(os);
            Tracer.TraceBreak();
        }
Beispiel #2
0
 public static void Dump(string name, Func <object> getValue)
 {
     if (IsMethodDumpTraceActive)
     {
         var os = Tracer.DumpData("", new[] { name, getValue() }, 1);
         Tracer.Line(os);
     }
 }
Beispiel #3
0
 public static void Dump(string name, object value)
 {
     if (IsMethodDumpTraceActive)
     {
         var os = Tracer.DumpData("", new[] { name, value }, 1);
         Tracer.Line(os);
     }
 }
Beispiel #4
0
        public virtual string DumpData()
        {
            string result;

            try
            {
                result = Tracer.DumpData(this);
            }
            catch (Exception)
            {
                result = "<not implemented>";
            }
            return(result);
        }