Click or drag to resize

ValidationResult Constructor (IObjectIdentifier, IValidationMessage, ValidationMessageSeverity)

[This is preliminary documentation and is subject to change.]

Creates a new instance for the given identifier with the provided message and severity (defaults to Error)

Namespace:  CSInfrastructure.FluentValidation
Assembly:  CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public ValidationResult(
	IObjectIdentifier identifier,
	IValidationMessage validationMessage,
	ValidationMessageSeverity severity = ValidationMessageSeverity.Error
)

Parameters

identifier
Type: CSInfrastructure.FluentValidationIObjectIdentifier
The module independent object identifier
validationMessage
Type: CSInfrastructure.FluentValidationIValidationMessage
The validation message concerning the validation result
severity (Optional)
Type: ValidationMessageSeverity
The severity of the validation result
See Also