TraceHelperWriteLineIf Method (Boolean, String) |
Writes the message with no category specified to the trace output with a newline, if condition is true.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax public static void WriteLineIf(
bool condition,
string message
)
Public Shared Sub WriteLineIf (
condition As Boolean,
message As String
)
Parameters
- condition
- Type: SystemBoolean
Condition to test if the message has to be written (true) or not (false) - message
- Type: SystemString
Message to write to the trace output
See Also