C# 클래스 Habanero.Faces.Base.ValidationRule

Provides a validation rule that checks if the value in a control is valid. ValidationRule is designed to be a simple as possible to reduce overhead in run-time. Because each validation rule can be attach to a control, there could be many instances of this class.
상속: ICloneable
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Clone ( ) : object

ValidationRule is memberwised cloneable.

Compare ( string leftText, string rightText, ValidationCompareOperator op, ValidationRule vr ) : bool

Compare two values.

보호된 메소드들

메소드 설명
OnCustomValidationMethod ( CustomValidationEventArgs e ) : void

Delegate invoking of validation method.

메소드 상세

Clone() 공개 메소드

ValidationRule is memberwised cloneable.
public Clone ( ) : object
리턴 object

Compare() 공개 정적인 메소드

Compare two values.
public static Compare ( string leftText, string rightText, ValidationCompareOperator op, ValidationRule vr ) : bool
leftText string
rightText string
op ValidationCompareOperator
vr ValidationRule
리턴 bool

OnCustomValidationMethod() 보호된 메소드

Delegate invoking of validation method.
protected OnCustomValidationMethod ( CustomValidationEventArgs e ) : void
e CustomValidationEventArgs
리턴 void