C# 클래스 HandCoded.Validation.Validator

The Validator class defines a standard API for requesting the validation of the business data content of an XML instance document.
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp

공개 메소드들

메소드 설명
Validate ( XmlDocument document, ValidationErrorHandler errorHandler ) : bool

Determines if the given XmlDocument instance's business data content passes a validation test. If errors are detected these will be reported through the ValidationErrorHandler instance passed as an argument.

Note that test returns true if it does not fail, including circumstances when the test is inapplicable to the XmlDocument under examination.

보호된 메소드들

메소드 설명
Validate ( NodeIndex nodeIndex, ValidationErrorHandler errorHandler ) : bool

Determines if the XmlDocument instance indexed by the provided NodeIndex has business data content that passes a validation test. If errors are detected they will be reported through the ValidationErrorHandler instance passed as an argument.

Note that test returns true if it does not fail, including circumstances when the test is inapplicable to the XmlDocument under examination.

Validator ( ) : System

Constructs a Validator instance.

비공개 메소드들

메소드 설명
PerformValidation ( NodeIndex nodeIndex, ValidationErrorHandler errorHandler ) : bool

메소드 상세

Validate() 보호된 추상적인 메소드

Determines if the XmlDocument instance indexed by the provided NodeIndex has business data content that passes a validation test. If errors are detected they will be reported through the ValidationErrorHandler instance passed as an argument.
Note that test returns true if it does not fail, including circumstances when the test is inapplicable to the XmlDocument under examination.
protected abstract Validate ( NodeIndex nodeIndex, ValidationErrorHandler errorHandler ) : bool
nodeIndex HandCoded.Xml.NodeIndex The instance to examine.
errorHandler ValidationErrorHandler An instance used to report /// validation failures.
리턴 bool

Validate() 공개 메소드

Determines if the given XmlDocument instance's business data content passes a validation test. If errors are detected these will be reported through the ValidationErrorHandler instance passed as an argument.
Note that test returns true if it does not fail, including circumstances when the test is inapplicable to the XmlDocument under examination.
public Validate ( XmlDocument document, ValidationErrorHandler errorHandler ) : bool
document System.Xml.XmlDocument The instance to examine.
errorHandler ValidationErrorHandler An delegate used to report /// validation failures.
리턴 bool

Validator() 보호된 메소드

Constructs a Validator instance.
protected Validator ( ) : System
리턴 System