C# 클래스 ExoRule.Validation.StringFormatRule

Applies conditions when the value of a ModelProperty is not in the correct format.
상속: PropertyRule
파일 보기 프로젝트 열기: vc3/ExoRule

공개 메소드들

메소드 설명
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