C# 클래스 HandCoded.Validation.Precondition

A Precondition instance is used to determine the applicability of a Rule to a XmlDocument.
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ALWAYS Precondition
NEVER Precondition

공개 메소드들

메소드 설명
And ( Precondition lhs, Precondition rhs ) : Precondition

Creates a new Precondition that is the logical AND of the given arguments.

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

Evaluates this Precondition against the contents of the indicated NodeIndex.

Not ( Precondition pre ) : Precondition

Creates a new Precondition that is the logical NOT of the given arguments.

Or ( Precondition lhs, Precondition rhs ) : Precondition

Creates a new Precondition that is the logical OR of the given arguments.

보호된 메소드들

메소드 설명
Precondition ( ) : System

Constructs a Precondition instance.

메소드 상세

And() 공개 정적인 메소드

Creates a new Precondition that is the logical AND of the given arguments.
public static And ( Precondition lhs, Precondition rhs ) : Precondition
lhs Precondition The left hand side Precondition.
rhs Precondition The right hand side Precondition.
리턴 Precondition

Evaluate() 공개 추상적인 메소드

Evaluates this Precondition against the contents of the indicated NodeIndex.
public abstract 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

Not() 공개 정적인 메소드

Creates a new Precondition that is the logical NOT of the given arguments.
public static Not ( Precondition pre ) : Precondition
pre Precondition The Precondition to be inverted.
리턴 Precondition

Or() 공개 정적인 메소드

Creates a new Precondition that is the logical OR of the given arguments.
public static Or ( Precondition lhs, Precondition rhs ) : Precondition
lhs Precondition The left hand side Precondition.
rhs Precondition The right hand side Precondition.
리턴 Precondition

Precondition() 보호된 메소드

Constructs a Precondition instance.
protected Precondition ( ) : System
리턴 System

프로퍼티 상세

ALWAYS 공개적으로 정적으로 프로퍼티

A Precondition instance that is always true.
public static Precondition,HandCoded.Validation ALWAYS
리턴 Precondition

NEVER 공개적으로 정적으로 프로퍼티

A Precondition instance that is always false.
public static Precondition,HandCoded.Validation NEVER
리턴 Precondition