C# Класс HandCoded.Validation.Precondition.OrPrecondition

The OrPrecondition class implements a binary logical OR operation on two Precondition instances.
Наследование: BinaryPrecondition
Показать файл Открыть проект

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

Метод Описание
Evaluate ( NodeIndex nodeIndex, bool>.Dictionary cache ) : bool

Evaluates this Precondition against the contents of the indicated NodeIndex.

OrPrecondition ( Precondition lhs, Precondition rhs ) : System

Constructs a OrPrecondition which will derive its value from two underlying Precondition instances.

ToString ( ) : string

Returns a string that represents the current Object.

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

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

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

Constructs a OrPrecondition which will derive its value from two underlying Precondition instances.
public OrPrecondition ( Precondition lhs, Precondition rhs ) : System
lhs Precondition The left hand .
rhs Precondition The right hand .
Результат System

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

Returns a string that represents the current Object.
public ToString ( ) : string
Результат string