C# 클래스 ExpressiveAnnotations.MvcUnobtrusive.Providers.ExpressiveAnnotationsModelValidatorProvider

Data annotations validator provider which automatically registers adapters for expressive validation attributes, i.e. ExpressiveAttribute, and additionally respects their processing priorities (if ExpressiveAttribute.Priority is specified) when validation is executed.
Attributes with highest priority (lowest value) will be processed in first place. Attributes without explicitly proivided priorities will be processed later, without any specific order.
상속: System.Web.Mvc.DataAnnotationsModelValidatorProvider
파일 보기 프로젝트 열기: jwaliszko/ExpressiveAnnotations 1 사용 예제들

공개 메소드들

메소드 설명
ExpressiveAnnotationsModelValidatorProvider ( ) : System

Initializes a new instance of the ExpressiveAnnotationsModelValidatorProvider class.

보호된 메소드들

메소드 설명
GetValidators ( ModelMetadata metadata, System.Web.Mvc.ControllerContext context, IEnumerable attributes ) : IEnumerable

Gets a list of validators.

메소드 상세

ExpressiveAnnotationsModelValidatorProvider() 공개 메소드

Initializes a new instance of the ExpressiveAnnotationsModelValidatorProvider class.
public ExpressiveAnnotationsModelValidatorProvider ( ) : System
리턴 System

GetValidators() 보호된 메소드

Gets a list of validators.
protected GetValidators ( ModelMetadata metadata, System.Web.Mvc.ControllerContext context, IEnumerable attributes ) : IEnumerable
metadata ModelMetadata The metadata.
context System.Web.Mvc.ControllerContext The context.
attributes IEnumerable The list of validation attributes.
리턴 IEnumerable