Click or drag to resize

CorrectableMessage.AddCorrection Method (String, Int32, Func<Boolean>, 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.6.0.0 (5.6.19.0117)
Syntax
public CorrectableMessage AddCorrection(
	string description,
	int sortOrder,
	Func<bool> correctionFunc,
	CorrectionActionType actionType = CorrectionActionType.None
)

Parameters

description
Type: System.String
The description.
sortOrder
Type: System.Int32
The sort order.
correctionFunc
Type: System.Func<Boolean>
The correction func.
actionType (Optional)
Type: SD.LLBLGen.Pro.ApplicationCore.CorrectionActionType
Type of the action.

Return Value

Type: CorrectableMessage
this instance
See Also