public static WriteLineIf ( bool condition, string message ) : void | ||
condition | bool | |
message | string | |
return | void |
public static void WriteLineIf(bool condition, string message)
{
if (condition)
WriteLine(message);
}
TraceInternal::WriteLineIf ( bool condition, object value ) : void | |
TraceInternal::WriteLineIf ( bool condition, object value, string category ) : void | |
TraceInternal::WriteLineIf ( bool condition, string message, string category ) : void |
public static void WriteLineIf(bool condition, object value, string category) { TraceInternal.WriteLineIf(condition, value, category); }