C# 클래스 Adf.Base.Validation.BusinessRuleValidationContext

상속: IValidationContext
파일 보기 프로젝트 열기: NLADP/ADF 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CloseScope void

공개 메소드들

메소드 설명
AddValidationResult ( ValidationResult result ) : void

Adds the supplied ValidationResult to its current ValidationResultCollectionScope.

BusinessRuleValidationContext ( ) : System

Initializes an instance of BusinessRuleValidationContext.

Clear ( ) : void

Clears the stack of type ValidationResultCollectionScope of this instance.

CreateValidationScope ( string scopeName ) : IDisposable

Creates and returns an instance of ValidationResultCollectionScope with the supplied scope name.

비공개 메소드들

메소드 설명
CloseScope ( ) : void

Deletes the current scope and merges it to the next to the current scope.

메소드 상세

AddValidationResult() 공개 메소드

Adds the supplied ValidationResult to its current ValidationResultCollectionScope.
public AddValidationResult ( ValidationResult result ) : void
result ValidationResult The supplied .
리턴 void

BusinessRuleValidationContext() 공개 메소드

Initializes an instance of BusinessRuleValidationContext.
public BusinessRuleValidationContext ( ) : System
리턴 System

Clear() 공개 메소드

Clears the stack of type ValidationResultCollectionScope of this instance.
public Clear ( ) : void
리턴 void

CreateValidationScope() 공개 메소드

Creates and returns an instance of ValidationResultCollectionScope with the supplied scope name.
public CreateValidationScope ( string scopeName ) : IDisposable
scopeName string The scope name.
리턴 IDisposable