C# 클래스 ExpressiveAnnotations.MvcWebSample.Inheritance.CustomAssertThatAttribute

상속: ExpressiveAnnotations.Attributes.ExpressiveAttribute
파일 보기 프로젝트 열기: jwaliszko/ExpressiveAnnotations

공개 메소드들

메소드 설명
CustomAssertThatAttribute ( string expression ) : System
FormatErrorMessage ( string displayName, string expression, Type objectType, Guid>.IDictionary &fieldsMap ) : string
FormatErrorMessage ( string displayName, string expression, object objectInstance ) : string

보호된 메소드들

메소드 설명
IsValidInternal ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult

메소드 상세

CustomAssertThatAttribute() 공개 메소드

public CustomAssertThatAttribute ( string expression ) : System
expression string
리턴 System

FormatErrorMessage() 공개 메소드

public FormatErrorMessage ( string displayName, string expression, Type objectType, Guid>.IDictionary &fieldsMap ) : string
displayName string
expression string
objectType System.Type
fieldsMap Guid>.IDictionary
리턴 string

FormatErrorMessage() 공개 메소드

public FormatErrorMessage ( string displayName, string expression, object objectInstance ) : string
displayName string
expression string
objectInstance object
리턴 string

IsValidInternal() 보호된 메소드

protected IsValidInternal ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult
value object
validationContext System.ComponentModel.DataAnnotations.ValidationContext
리턴 System.ComponentModel.DataAnnotations.ValidationResult