protected static void DumpDataWithBreak(string text, params object[] p) { var os = Tracer.DumpData(text, p, 1); Tracer.Line(os); Tracer.TraceBreak(); }
public static void Dump(string name, Func <object> getValue) { if (IsMethodDumpTraceActive) { var os = Tracer.DumpData("", new[] { name, getValue() }, 1); Tracer.Line(os); } }
public static void Dump(string name, object value) { if (IsMethodDumpTraceActive) { var os = Tracer.DumpData("", new[] { name, value }, 1); Tracer.Line(os); } }
public virtual string DumpData() { string result; try { result = Tracer.DumpData(this); } catch (Exception) { result = "<not implemented>"; } return(result); }