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
Показать файл Открыть проект

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

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