C# Класс NHValModelValidators.Validation.NHibernateValidatorProvider

Server side validator provider for NHVal
Наследование: System.Web.Mvc.ModelValidatorProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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)

Описание методов

GetValidators() публичный Метод

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
Результат IEnumerable