Click or drag to resize

CorrectableMessageAddCorrection Method (String, Int32, FuncBoolean, CorrectionActionType)

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.4.0.0 (5.4.0)
Syntax
public CorrectableMessage AddCorrection(
	string description,
	int sortOrder,
	Func<bool> correctionFunc,
	CorrectionActionType actionType = CorrectionActionType.None
)

Parameters

description
Type: SystemString
The description.
sortOrder
Type: SystemInt32
The sort order.
correctionFunc
Type: SystemFuncBoolean
The correction func.
actionType (Optional)
Type: SD.LLBLGen.Pro.ApplicationCoreCorrectionActionType
Type of the action.

Return Value

Type: CorrectableMessage
this instance
See Also