C# Class NHValModelValidators.Validation.NHibernateValidatorProvider

Server side validator provider for NHVal
Inheritance: System.Web.Mvc.ModelValidatorProvider
Afficher le fichier Open project: srkirkland/NHValModelValidators

Méthodes publiques

Méthode Description
GetValidators ( ModelMetadata metadata, System.Web.Mvc.ControllerContext context ) : IEnumerable

Returns model validators for each class that can be validated. When this method is called with a non-class modelType, nothing is added to the yield return (this prevents us from validating the same properties several times)

Method Details

GetValidators() public méthode

Returns model validators for each class that can be validated. When this method is called with a non-class modelType, nothing is added to the yield return (this prevents us from validating the same properties several times)
public GetValidators ( ModelMetadata metadata, System.Web.Mvc.ControllerContext context ) : IEnumerable
metadata ModelMetadata
context System.Web.Mvc.ControllerContext
Résultat IEnumerable