C# Class MvcTemplate.Components.Mvc.DateValidator

Inheritance: IClientModelValidator
Show file Open project: NonFactors/MVC5.Template Class Usage Examples

Public Methods

Method Description
DateValidator ( ModelMetadata metadata, ControllerContext context ) : MvcTemplate.Resources.Form
GetClientValidationRules ( ) : IEnumerable
Validate ( Object container ) : IEnumerable

Method Details

DateValidator() public method

public DateValidator ( ModelMetadata metadata, ControllerContext context ) : MvcTemplate.Resources.Form
metadata ModelMetadata
context ControllerContext
return MvcTemplate.Resources.Form

GetClientValidationRules() public method

public GetClientValidationRules ( ) : IEnumerable
return IEnumerable

Validate() public method

public Validate ( Object container ) : IEnumerable
container Object
return IEnumerable