TraceHelperWriteIf Method (Boolean, Object) |
Writes the value with no category specified to the trace output, if condition is true.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public static void WriteIf(
bool condition,
Object value
)
Public Shared Sub WriteIf (
condition As Boolean,
value As Object
)
Parameters
- condition
- Type: SystemBoolean
Condition to test if the value has to be written (true) or not (false) - value
- Type: SystemObject
Value to write to the trace output
See Also