public static void WriteIf(bool condition, string message) { if (condition) { TraceImpl.Write(message); } }
public static void Assert(bool condition, string message, string detailMessage) { if (!condition) { TraceImpl.Fail(message, detailMessage); } }
public static void WriteLineIf(bool condition, object value) { if (condition) { TraceImpl.WriteLine(value); } }
public static void WriteLineIf(bool condition, object value, string category) { if (condition) { TraceImpl.WriteLine(value, category); } }
public static void Assert(bool condition, string message, string detailMessageFormat, params object [] args) { TraceImpl.Assert(condition, message, string.Format(detailMessageFormat, args)); }
public static void Assert(bool condition) { if (!condition) { TraceImpl.Fail(new StackTrace(true).ToString()); } }
public static void WriteLineIf(bool condition, string message, string category) { if (condition) { TraceImpl.WriteLine(message, category); } }
static void DoTrace(string kind, Assembly report, string message) { string location = ""; try{ location = report.Location; } catch (MethodAccessException) {} TraceImpl.WriteLine(String.Format("{0} {1} : 0 : {2}", location, kind, message)); }
private static void DoTrace(string kind, Assembly report, string message) { string arg = string.Empty; try { arg = report.Location; } catch (MethodAccessException) { } TraceImpl.WriteLine(string.Format("{0} {1} : 0 : {2}", arg, kind, message)); }
public static void Assert(bool condition, string message, string detailMessageFormat, params object [] args) { if (condition) { // Return early to avoid the string formatting return; } TraceImpl.Assert(condition, message, string.Format(detailMessageFormat, args)); }
internal static void Fail(string message) { TraceImpl.Fail(message); }
internal static void Close() { TraceImpl.Close(); }
public static void Assert(bool condition, string message, string detailMessage) { TraceImpl.Assert(condition, message, detailMessage); }
public static void Assert(bool condition) { TraceImpl.Assert(condition); }
internal static void Write(object value) { TraceImpl.Write(value); }
public static void Fail(string message) { TraceImpl.Fail(message); }
internal static void WriteLineIf(bool condition, object value, string category) { TraceImpl.WriteLineIf(condition, value, category); }
internal static void WriteLine(object value, string category) { TraceImpl.WriteLine(value, category); }
internal static void WriteLine(string message, string category) { TraceImpl.WriteLine(message, category); }
public static void WriteLine(object value) { TraceImpl.WriteLine(value); }
internal static void WriteIf(bool condition, string message) { TraceImpl.WriteIf(condition, message); }
internal static void Write(string message) { TraceImpl.Write(message); }
internal static void Indent() { TraceImpl.Indent(); }
internal static void WriteLineIf(bool condition, string message, string category) { TraceImpl.WriteLineIf(condition, message, category); }
internal static void Flush() { TraceImpl.Flush(); }
public static void Print(string message) { TraceImpl.WriteLine(message); }
public static void Close() { TraceImpl.Close(); }
public static void Print(string format, params Object[] args) { TraceImpl.WriteLine(String.Format(format, args)); }
internal static void WriteLineIf(bool condition, object value) { TraceImpl.WriteLineIf(condition, value); }
internal static void Unindent() { TraceImpl.Unindent(); }