C# Class BetterValidation.Extensions.FluentValidationExtensions

Extension to the Fluent Validation Types
显示文件 Open project: brettenet/BetterValidation

Public Methods

Method Description
ToValidationResult ( this validationResult ) : IEnumerable

Converts the Fluent Validation result to the type the both mvc and ef expect

Method Details

ToValidationResult() public static method

Converts the Fluent Validation result to the type the both mvc and ef expect
public static ToValidationResult ( this validationResult ) : IEnumerable
validationResult this The validation result.
return IEnumerable