C# Класс ExpressiveAnnotations.MvcWebSample.Inheritance.CustomAssertThatAttribute

Наследование: ExpressiveAnnotations.Attributes.ExpressiveAttribute
Показать файл Открыть проект

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

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