C# 클래스 HandCoded.FpML.Validation.ContentPrecondition

The ContentPrecondition checks if the document being processed contains specific elements determined from either their XML Schema type or from a list (if type information is not available).
상속: HandCoded.Validation.Precondition
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp

공개 메소드들

메소드 설명
ContentPrecondition ( string elements, string types ) : System

Constructions a ProductPrecondition instance that checks documents containing the indicated elements or types.

Evaluate ( NodeIndex nodeIndex, bool>.Dictionary cache ) : bool

Evaluates this Precondition against the contents of the indicated NodeIndex.

메소드 상세

ContentPrecondition() 공개 메소드

Constructions a ProductPrecondition instance that checks documents containing the indicated elements or types.
public ContentPrecondition ( string elements, string types ) : System
elements string
types string
리턴 System

Evaluate() 공개 메소드

Evaluates this Precondition against the contents of the indicated NodeIndex.
public Evaluate ( NodeIndex nodeIndex, bool>.Dictionary cache ) : bool
nodeIndex HandCoded.Xml.NodeIndex The of a
cache bool>.Dictionary A cache of previously evaluated precondition results.
리턴 bool