C# Class HandCoded.FpML.Validation.VersionPrecondition

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

Public Methods

Method 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 method

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.
return bool

ToString() public method

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

VersionPrecondition() public method

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