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

A VersionRangePrecondition instance tests if the FpML version of a documents lies between two limits. Either of the minimum or maximum values can be omitted to make the range open ended.
상속: HandCoded.Validation.Precondition
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp

공개 메소드들

메소드 설명
Evaluate ( NodeIndex nodeIndex, bool>.Dictionary cache ) : bool

Evaluates this Precondition against the contents of the indicated NodeIndex.

ToString ( ) : string

Creates debugging string describing the precondition rule.

VersionRangePrecondition ( Release minimum, Release maximum ) : System

Constructs a VersionRangePrecondition using the two bounding release versions.

메소드 상세

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

ToString() 공개 메소드

Creates debugging string describing the precondition rule.
public ToString ( ) : string
리턴 string

VersionRangePrecondition() 공개 메소드

Constructs a VersionRangePrecondition using the two bounding release versions.
public VersionRangePrecondition ( Release minimum, Release maximum ) : System
minimum HandCoded.Meta.Release The minimum version accepted.
maximum HandCoded.Meta.Release The maximum version accepted.
리턴 System