C# Класс HandCoded.FpML.Validation.VersionPrecondition

The VersionPrecondition class checks that the FpML root element contains a specific version string.
Наследование: HandCoded.Validation.Precondition
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

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

VersionPrecondition() публичный Метод

Constructs a VersionPrecondition that detects a specific version number.
public VersionPrecondition ( Release release ) : System
release HandCoded.Meta.Release The required FpML release.
Результат System