Click or drag to resize

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.11.0.0 (5.11.23.1114)
Syntax
public static void WriteIf(
	bool condition,
	Object value,
	string category
)

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