C# 클래스 Tortuga.Chain.AuditRules.ValidationRule

Base class for validation style rules.
상속: AuditRule
파일 보기 프로젝트 열기: docevaad/Chain

공개 메소드들

메소드 설명
CheckValue ( object argumentValue ) : void

Checks the value for validation errors.

보호된 메소드들

메소드 설명
ValidationRule ( OperationTypes appliesWhen ) : System.ComponentModel.DataAnnotations

Initializes a new instance of the ValidationRule class.

메소드 상세

CheckValue() 공개 추상적인 메소드

Checks the value for validation errors.
A ValidationException will be thrown if the object contains validation errors.
public abstract CheckValue ( object argumentValue ) : void
argumentValue object The argument value.
리턴 void

ValidationRule() 보호된 메소드

Initializes a new instance of the ValidationRule class.
protected ValidationRule ( OperationTypes appliesWhen ) : System.ComponentModel.DataAnnotations
appliesWhen OperationTypes The rule applies when.
리턴 System.ComponentModel.DataAnnotations