C# Class HandCoded.Validation.Precondition.AndPrecondition

The AndPrecondition class implements a binary logical AND operation on two Precondition instances.
Inheritance: BinaryPrecondition
Afficher le fichier Open project: formicary/fpml-toolkit-csharp

Méthodes publiques

Méthode Description
AndPrecondition ( Precondition lhs, Precondition rhs ) : System

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

Evaluate ( NodeIndex nodeIndex, bool>.Dictionary cache ) : bool

Evaluates this Precondition against the contents of the indicated NodeIndex.

ToString ( ) : string

Returns a string that represents the current Object.

Method Details

AndPrecondition() public méthode

Constructs a AndPrecondition which will derive its value from two underlying Precondition instances.
public AndPrecondition ( Precondition lhs, Precondition rhs ) : System
lhs Precondition The left hand .
rhs Precondition The right hand .
Résultat System

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

Returns a string that represents the current Object.
public ToString ( ) : string
Résultat string