Click or drag to resize
DebugWriteLineIf Method
Writes a message to the trace listeners in the System.Diagnostics.Debug.Listeners collection if a condition is true.

Namespace: System.Diagnostics
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public static void WriteLineIf(
	bool condition,
	string message
)

Parameters

condition
Type: SystemBoolean
The conditional expression to evaluate. If the condition is true, the message is written to the trace listeners in the collection.
message
Type: SystemString
A message to write.
See Also