C# Class HandCoded.Validation.Precondition.NotPrecondition

The NotPrecondition class implements the unary logical NOT operation.
Inheritance: UnaryPrecondition
Afficher le fichier Open project: formicary/fpml-toolkit-csharp

Méthodes publiques

Méthode Description
Evaluate ( NodeIndex nodeIndex, bool>.Dictionary cache ) : bool

Evaluates this Precondition against the contents of the indicated NodeIndex.

NotPrecondition ( Precondition pre ) : System

Constructs a NotPrecondition which will invert some underlying Precondition.

ToString ( ) : string

Returns a string that represents the current Object.

Method Details

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

NotPrecondition() public méthode

Constructs a NotPrecondition which will invert some underlying Precondition.
public NotPrecondition ( Precondition pre ) : System
pre Precondition The underlying .
Résultat System

ToString() public méthode

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