C# Класс ExoRule.Validation.StringFormatRule

Applies conditions when the value of a ModelProperty is not in the correct format.
Наследование: PropertyRule
Показать файл Открыть проект

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

Метод Описание
StringFormatRule ( string rootType, string property, Func formatDescription, Func formatExpression, Func reformatExpression = null, RuleInvocationType invocationTypes = RuleInvocationType.PropertyChanged ) : System

Защищенные методы

Метод Описание
ConditionApplies ( ModelInstance root ) : bool

Приватные методы

Метод Описание
CreateError ( string property, Func formatDescription ) : ConditionType>.Func

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

ConditionApplies() защищенный Метод

protected ConditionApplies ( ModelInstance root ) : bool
root ModelInstance
Результат bool

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

public StringFormatRule ( string rootType, string property, Func formatDescription, Func formatExpression, Func reformatExpression = null, RuleInvocationType invocationTypes = RuleInvocationType.PropertyChanged ) : System
rootType string
property string
formatDescription Func
formatExpression Func
reformatExpression Func
invocationTypes RuleInvocationType
Результат System