Click or drag to resize

ValidationConstraintTObject Constructor

Namespace:  Aloe.SystemFrameworks.Domain.Validation
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public ValidationConstraint(
	string constraintCode,
	Func<TObject, string> getMessage,
	Func<IDataAttribute> getAttribute = null
)

Parameters

constraintCode
Type: SystemString
The rule code.
getMessage
Type: SystemFuncTObject, String
The get message function.
getAttribute (Optional)
Type: SystemFuncIDataAttribute
The get attribute function.
See Also