Click or drag to resize

ValidationResult Constructor (IObjectIdentifier, IReadOnlyCollectionIValidationMessage, ValidationMessageSeverity)

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

Creates a new instance for the given identifier with the provided messages 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,
	IReadOnlyCollection<IValidationMessage> validationMessages,
	ValidationMessageSeverity severity = ValidationMessageSeverity.Error
)

Parameters

identifier
Type: CSInfrastructure.FluentValidationIObjectIdentifier
The module independent object identifier
validationMessages
Type: System.Collections.GenericIReadOnlyCollectionIValidationMessage
The collection of validation messages concerning the validation result
severity (Optional)
Type: ValidationMessageSeverity
The severity of the validation result
See Also