Class SRFluentValidationResultExtensions
Defines extension methods for the Fluent Validation package.
Inherited Members
Namespace: SimpleResults
Assembly: SimpleResults.FluentValidation.dll
Syntax
public static class SRFluentValidationResultExtensions
Methods
Name | Description |
---|---|
AsErrors(ValidationResult) | Converts the validation result to a collection of error messages. |
Invalid(ValidationResult) | Represents a validation error that prevents the underlying service from completing. |
Invalid(ValidationResult, String) | Represents a validation error that prevents the underlying service from completing. |
IsFailed(ValidationResult) | Checks if the validation result is failed. |