TraceHelperWriteIf Method (Boolean, Object, String) |
Writes the value with the remark of the 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.2.0.0 (5.2.17.0403)
Syntax public static void WriteIf(
bool condition,
Object value,
string category
)
Public Shared Sub WriteIf (
condition As Boolean,
value As Object,
category As String
)
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 - category
- Type: SystemString
Category to specify with the value
See Also