C# 클래스 ExoRule.Validation.RangeRule

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

공개 메소드들

메소드 설명
RangeRule ( string rootType, string property, IComparable minimum, IComparable maximum ) : System
RangeRule ( string rootType, string property, IComparable minimum, IComparable maximum, Error error, RuleInvocationType invocationTypes ) : System
RangeRule ( string rootType, string property, IComparable minimum, IComparable maximum, RuleInvocationType invocationTypes ) : System
RangeRule ( string rootType, string property, IComparable minimum, IComparable maximum, string errorMessage ) : System
RangeRule ( string rootType, string property, ModelExpression minimum, ModelExpression maximum, string errorMessage ) : System
RangeRule ( string rootType, string property, string minExpression, string maxExpression, string errorMessage ) : System

보호된 메소드들

메소드 설명
ConditionApplies ( ModelInstance root ) : bool

비공개 메소드들

메소드 설명
CreateError ( string property, IComparable minimum, IComparable maximum ) : ConditionType>.Func
SetRange ( IComparable minimum, IComparable maximum ) : void
SetRange ( ModelExpression minimum, ModelExpression maximum ) : void

메소드 상세

ConditionApplies() 보호된 메소드

protected ConditionApplies ( ModelInstance root ) : bool
root ModelInstance
리턴 bool

RangeRule() 공개 메소드

public RangeRule ( string rootType, string property, IComparable minimum, IComparable maximum ) : System
rootType string
property string
minimum IComparable
maximum IComparable
리턴 System

RangeRule() 공개 메소드

public RangeRule ( string rootType, string property, IComparable minimum, IComparable maximum, Error error, RuleInvocationType invocationTypes ) : System
rootType string
property string
minimum IComparable
maximum IComparable
error Error
invocationTypes RuleInvocationType
리턴 System

RangeRule() 공개 메소드

public RangeRule ( string rootType, string property, IComparable minimum, IComparable maximum, RuleInvocationType invocationTypes ) : System
rootType string
property string
minimum IComparable
maximum IComparable
invocationTypes RuleInvocationType
리턴 System

RangeRule() 공개 메소드

public RangeRule ( string rootType, string property, IComparable minimum, IComparable maximum, string errorMessage ) : System
rootType string
property string
minimum IComparable
maximum IComparable
errorMessage string
리턴 System

RangeRule() 공개 메소드

public RangeRule ( string rootType, string property, ModelExpression minimum, ModelExpression maximum, string errorMessage ) : System
rootType string
property string
minimum ModelExpression
maximum ModelExpression
errorMessage string
리턴 System

RangeRule() 공개 메소드

public RangeRule ( string rootType, string property, string minExpression, string maxExpression, string errorMessage ) : System
rootType string
property string
minExpression string
maxExpression string
errorMessage string
리턴 System