C# Class HandCoded.FpML.Validation.VersionPrecondition

The VersionPrecondition class checks that the FpML root element contains a specific version string.
Inheritance: HandCoded.Validation.Precondition
Afficher le fichier Open project: formicary/fpml-toolkit-csharp

Méthodes publiques

Méthode Description
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.

VersionPrecondition ( Release release ) : System

Constructs a VersionPrecondition that detects a specific version number.

Method Details

Evaluate() public méthode

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.
Résultat bool

ToString() public méthode

Creates debugging string describing the precondition rule.
public ToString ( ) : string
Résultat string

VersionPrecondition() public méthode

Constructs a VersionPrecondition that detects a specific version number.
public VersionPrecondition ( Release release ) : System
release HandCoded.Meta.Release The required FpML release.
Résultat System