C# Class NHValModelValidators.Validation.NHibernateValidatorModelValidator

Server side model validator for NHVal
Inheritance: System.Web.Mvc.ModelValidator
ファイルを表示 Open project: srkirkland/NHValModelValidators

Public Methods

Method Description
NHibernateValidatorModelValidator ( ModelMetadata metadata, System.Web.Mvc.ControllerContext controllerContext, IClassValidator validator ) : System.Collections.Generic
Validate ( object container ) : IEnumerable

Validate the model associated with this validator

Method Details

NHibernateValidatorModelValidator() public method

public NHibernateValidatorModelValidator ( ModelMetadata metadata, System.Web.Mvc.ControllerContext controllerContext, IClassValidator validator ) : System.Collections.Generic
metadata ModelMetadata
controllerContext System.Web.Mvc.ControllerContext
validator IClassValidator
return System.Collections.Generic

Validate() public method

Validate the model associated with this validator
public Validate ( object container ) : IEnumerable
container object
return IEnumerable