Click or drag to resize
CorrectableMessageAddCorrection Method (String, Int32, FuncBoolean)
Adds a new correction with the parameter specified and the correction func specified. If correctionFunc is not null, this message has to have CorrectionsAreChoices set to true

Namespace:  SD.LLBLGen.Pro.ApplicationCore.MessageReporting
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public CorrectableMessage AddCorrection(
	string description,
	int sortOrder,
	Func<bool> correctionFunc
)

Parameters

description
Type: SystemString
The description.
sortOrder
Type: SystemInt32
The sort order.
correctionFunc
Type: SystemFuncBoolean
The correction func.

Return Value

Type: CorrectableMessage
this instance
See Also