Class SrpValidationResult
Represents Srp validation Result
Constructors
SrpValidationResult(ValidationResult)
Constructs SrpValidationResult
Declaration
public SrpValidationResult(ValidationResult validationResult)
Parameters
Type | Name | Description |
---|---|---|
FluentValidation.Results.ValidationResult | validationResult | Fluent Validation result |
Properties
HasErrorsMessages
True if validation result has messages with Severity Level: Error
Declaration
public bool HasErrorsMessages { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsValid
True if result of entity validation is valid
Declaration
public override bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ValidationErrorMessages
Collection of messages with Severity level: Error
Declaration
public IEnumerable<ValidationFailure> ValidationErrorMessages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<FluentValidation.Results.ValidationFailure> |