C# Class Metsys.Validate.Mvc.ModelPropertyValidator

Inheritance: System.Web.Mvc.ModelValidator
显示文件 Open project: karlseguin/Metsys.Validate

Public Methods

Method Description
ModelPropertyValidator ( string message, IValidator validator, ModelMetadata metadata, System.Web.Mvc.ControllerContext controllerContext ) : System.Collections.Generic
Validate ( object container ) : IEnumerable

Method Details

ModelPropertyValidator() public method

public ModelPropertyValidator ( string message, IValidator validator, ModelMetadata metadata, System.Web.Mvc.ControllerContext controllerContext ) : System.Collections.Generic
message string
validator IValidator
metadata ModelMetadata
controllerContext System.Web.Mvc.ControllerContext
return System.Collections.Generic

Validate() public method

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