C# 클래스 HandCoded.Xml.Logic

The Logic class contains functions the make converting Clix based rules to C# easier. Rule set classes may be derived from this class to make access to the members more efficient.
Not every possible combination of arguments types is provided by all the functions - only those that are currently used in the validation code.
상속: Types
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp

공개 메소드들

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

Calculates the logical-and of the given predicate result values.

Count ( XmlNodeList list ) : int

Determines the number of nodes in a XmlNodeList.

Equal ( Date lhs, Date rhs ) : bool

Determines if two Date values have the same contents.

Equal ( HandCoded lhs, HandCoded rhs ) : bool

Determines if two HandCoded.Finance.DateTime values have the same contents.

Equal ( Time lhs, Time rhs ) : bool

Determines if two Time values have the same contents.

Equal ( XmlNode lhs, XmlNode rhs ) : bool

Determines if two nodes contain the same value.

Equal ( XmlNode lhs, int rhs ) : bool

Determines if the value of a XmlNode is the same as a given int.

Equal ( XmlNode lhs, string rhs ) : bool

Determines if the value of a XmlNode is the same as a given string.

Equal ( decimal lhs, decimal rhs ) : bool

Determines if two decimal values have the same contents.

Equal ( int lhs, int rhs ) : bool

Compares two integer values.

Equal ( string lhs, string rhs ) : bool

Determines if two string values have the same contents.

Exists ( XmlNode node ) : bool

Determines if a referenced XmlNode exists.

Exists ( XmlNodeList list ) : bool

Determines if a XmlNodeList is not empty.

Greater ( Date lhs, Date rhs ) : bool

Determines if the value of a Date is greater than the value of another.

Greater ( HandCoded lhs, HandCoded rhs ) : bool

Determines if the value of a HandCoded.Finance.DateTime is greater than the value of another.

Greater ( Time lhs, Time rhs ) : bool

Determines if the value of a Time is greater than the value of another.

Greater ( XmlNode lhs, XmlNode rhs ) : bool

Compares two XmlNode instances to determine if the first is larger than the second.

Greater ( decimal lhs, decimal rhs ) : bool

Determines if the value of a decimal is greater than the value of another.

Greater ( int lhs, int rhs ) : bool

Compares two int instances to determine if the first is larger than the second.

Greater ( string lhs, string rhs ) : bool

Compares two string instances to determine if the first is larger than the second.

GreaterOrEqual ( Date lhs, Date rhs ) : bool

Compares two Date instances to determine if the first is equal to or larger than the second.

GreaterOrEqual ( HandCoded lhs, HandCoded rhs ) : bool

Compares two HandCoded.Finance.DateTime instances to determine if the first is equal to or larger than the second.

GreaterOrEqual ( Time lhs, Time rhs ) : bool

Compares two Time instances to determine if the first is equal to or larger than the second.

GreaterOrEqual ( XmlNode lhs, XmlNode rhs ) : bool

Compares two XmlNode instances to determine if the first is equal to or larger than the second.

GreaterOrEqual ( XmlNode lhs, double rhs ) : bool

Compares a XmlNode instance with a double to determine if the value it holds is larger or the same.

GreaterOrEqual ( decimal lhs, decimal rhs ) : bool

Compares two decimal instances to determine if the first is equal to or larger than the second.

GreaterOrEqual ( string lhs, string rhs ) : bool

Compares two string instances to determine if the first is equal to or larger than the second.

Iff ( bool lhs, bool rhs ) : bool

Calculates the "if and only if" of the given predicate result values.

Implies ( bool lhs, bool rhs ) : bool

Calculates the logical-implication of the given predicate result values.

Less ( Date lhs, Date rhs ) : bool

Determines if the value of a Date is less than the value of another.

Less ( HandCoded lhs, HandCoded rhs ) : bool

Determines if the value of a HandCoded.Finance.DateTime is less than the value of another.

Less ( Time lhs, Time rhs ) : bool

Determines if the value of a Time is less than the value of another.

Less ( XmlNode lhs, XmlNode rhs ) : bool

Determines if the value of one node is less than another. If either node is null then the result is false.

Less ( XmlNode lhs, string rhs ) : bool

Determines if the value of a node is less than a given string. If the node is null then the result is false.

Less ( decimal lhs, decimal rhs ) : bool

Determines if the value of a decimal is less than the value of another.

Less ( string lhs, string rhs ) : bool

Determines if the value of a string is lexiographically less than the value of another.

LessOrEqual ( Date lhs, Date rhs ) : bool

Compares two Date instances to determine if the first is equal to or smaller than the second.

LessOrEqual ( HandCoded lhs, HandCoded rhs ) : bool

Compares two HandCoded.Finance.DateTime instances to determine if the first is equal to or smaller than the second.

LessOrEqual ( Time lhs, Time rhs ) : bool

Compares two Time instances to determine if the first is equal to or smaller than the second.

LessOrEqual ( XmlNode lhs, XmlNode rhs ) : bool

Compares two XmlNode instances to determine if the first is equal to or smaller than the second.

LessOrEqual ( XmlNode lhs, double rhs ) : bool

Compares a XmlNode instance with a double to determine if the value it holds is smaller or the same.

LessOrEqual ( decimal lhs, decimal rhs ) : bool

Compares two decimal instances to determine if the first is equal to or smaller than the second.

LessOrEqual ( string lhs, string rhs ) : bool

Compares two string instances to determine if the first is equal to or smaller than the second.

Not ( bool value ) : bool

Calculates the logical-not of the given predicate result value.

NotEqual ( Date lhs, Date rhs ) : bool

Determines if two Date values are different.

NotEqual ( HandCoded lhs, HandCoded rhs ) : bool

Determines if two HandCoded.Finance.DateTime values are different.

NotEqual ( Time lhs, Time rhs ) : bool

Determines if two Time values are different.

NotEqual ( XmlNode lhs, XmlNode rhs ) : bool

Determines if two nodes contain the different values.

NotEqual ( XmlNode lhs, decimal rhs ) : bool

Determines if the value of a XmlNode is not the same as a given decimal.

NotEqual ( XmlNode lhs, int rhs ) : bool

Determines if the value of a XmlNode is not the same as a given int.

NotEqual ( XmlNode lhs, string rhs ) : bool

Determines if the value of a XmlNode is not the same as a given string.

NotEqual ( decimal lhs, decimal rhs ) : bool

Determines if two decimal values are different.

NotEqual ( string lhs, string rhs ) : bool

Determines if two string values are different.

Or ( bool lhs, bool rhs ) : bool

Calculates the logical-or of the given predicate result values.

보호된 메소드들

메소드 설명
Logic ( ) : System.Xml

Constructs a Logic instance.

메소드 상세

And() 공개 정적인 메소드

Calculates the logical-and of the given predicate result values.
public static And ( bool lhs, bool rhs ) : bool
lhs bool The first predicate value.
rhs bool The second predicate value.
리턴 bool

Count() 공개 정적인 메소드

Determines the number of nodes in a XmlNodeList.
public static Count ( XmlNodeList list ) : int
list System.Xml.XmlNodeList The to examine.
리턴 int

Equal() 공개 정적인 메소드

Determines if two Date values have the same contents.
public static Equal ( Date lhs, Date rhs ) : bool
lhs HandCoded.Finance.Date The to compare.
rhs HandCoded.Finance.Date The to compare with.
리턴 bool

Equal() 공개 정적인 메소드

Determines if two HandCoded.Finance.DateTime values have the same contents.
public static Equal ( HandCoded lhs, HandCoded rhs ) : bool
lhs HandCoded The to compare.
rhs HandCoded The to compare with.
리턴 bool

Equal() 공개 정적인 메소드

Determines if two Time values have the same contents.
public static Equal ( Time lhs, Time rhs ) : bool
lhs HandCoded.Finance.Time The to compare.
rhs HandCoded.Finance.Time The to compare with.
리턴 bool

Equal() 공개 정적인 메소드

Determines if two nodes contain the same value.
public static Equal ( XmlNode lhs, XmlNode rhs ) : bool
lhs System.Xml.XmlNode The first node to compare.
rhs System.Xml.XmlNode The second node to compare.
리턴 bool

Equal() 공개 정적인 메소드

Determines if the value of a XmlNode is the same as a given int.
public static Equal ( XmlNode lhs, int rhs ) : bool
lhs System.Xml.XmlNode The to compare.
rhs int The value.
리턴 bool

Equal() 공개 정적인 메소드

Determines if the value of a XmlNode is the same as a given string.
public static Equal ( XmlNode lhs, string rhs ) : bool
lhs System.Xml.XmlNode The to compare.
rhs string The value.
리턴 bool

Equal() 공개 정적인 메소드

Determines if two decimal values have the same contents.
public static Equal ( decimal lhs, decimal rhs ) : bool
lhs decimal The to compare.
rhs decimal The to compare with.
리턴 bool

Equal() 공개 정적인 메소드

Compares two integer values.
public static Equal ( int lhs, int rhs ) : bool
lhs int The first value.
rhs int The second value
리턴 bool

Equal() 공개 정적인 메소드

Determines if two string values have the same contents.
public static Equal ( string lhs, string rhs ) : bool
lhs string The to compare.
rhs string The to compare with.
리턴 bool

Exists() 공개 정적인 메소드

Determines if a referenced XmlNode exists.
public static Exists ( XmlNode node ) : bool
node System.Xml.XmlNode The or null.
리턴 bool

Exists() 공개 정적인 메소드

Determines if a XmlNodeList is not empty.
public static Exists ( XmlNodeList list ) : bool
list System.Xml.XmlNodeList The to examine.
리턴 bool

Greater() 공개 정적인 메소드

Determines if the value of a Date is greater than the value of another.
public static Greater ( Date lhs, Date rhs ) : bool
lhs HandCoded.Finance.Date The to compare.
rhs HandCoded.Finance.Date The to compare with.
리턴 bool

Greater() 공개 정적인 메소드

Determines if the value of a HandCoded.Finance.DateTime is greater than the value of another.
public static Greater ( HandCoded lhs, HandCoded rhs ) : bool
lhs HandCoded The to compare.
rhs HandCoded The to compare with.
리턴 bool

Greater() 공개 정적인 메소드

Determines if the value of a Time is greater than the value of another.
public static Greater ( Time lhs, Time rhs ) : bool
lhs HandCoded.Finance.Time The to compare.
rhs HandCoded.Finance.Time The to compare with.
리턴 bool

Greater() 공개 정적인 메소드

Compares two XmlNode instances to determine if the first is larger than the second.
public static Greater ( XmlNode lhs, XmlNode rhs ) : bool
lhs System.Xml.XmlNode The first node.
rhs System.Xml.XmlNode The second node.
리턴 bool

Greater() 공개 정적인 메소드

Determines if the value of a decimal is greater than the value of another.
public static Greater ( decimal lhs, decimal rhs ) : bool
lhs decimal The to compare.
rhs decimal The to compare with.
리턴 bool

Greater() 공개 정적인 메소드

Compares two int instances to determine if the first is larger than the second.
public static Greater ( int lhs, int rhs ) : bool
lhs int The first int.
rhs int The second int.
리턴 bool

Greater() 공개 정적인 메소드

Compares two string instances to determine if the first is larger than the second.
public static Greater ( string lhs, string rhs ) : bool
lhs string The first string.
rhs string The second string.
리턴 bool

GreaterOrEqual() 공개 정적인 메소드

Compares two Date instances to determine if the first is equal to or larger than the second.
public static GreaterOrEqual ( Date lhs, Date rhs ) : bool
lhs HandCoded.Finance.Date The first Date.
rhs HandCoded.Finance.Date The second Date.
리턴 bool

GreaterOrEqual() 공개 정적인 메소드

Compares two HandCoded.Finance.DateTime instances to determine if the first is equal to or larger than the second.
public static GreaterOrEqual ( HandCoded lhs, HandCoded rhs ) : bool
lhs HandCoded The first DateTime.
rhs HandCoded The second DateTime.
리턴 bool

GreaterOrEqual() 공개 정적인 메소드

Compares two Time instances to determine if the first is equal to or larger than the second.
public static GreaterOrEqual ( Time lhs, Time rhs ) : bool
lhs HandCoded.Finance.Time The first Time.
rhs HandCoded.Finance.Time The second Time.
리턴 bool

GreaterOrEqual() 공개 정적인 메소드

Compares two XmlNode instances to determine if the first is equal to or larger than the second.
public static GreaterOrEqual ( XmlNode lhs, XmlNode rhs ) : bool
lhs System.Xml.XmlNode The first node.
rhs System.Xml.XmlNode The second node.
리턴 bool

GreaterOrEqual() 공개 정적인 메소드

Compares a XmlNode instance with a double to determine if the value it holds is larger or the same.
public static GreaterOrEqual ( XmlNode lhs, double rhs ) : bool
lhs System.Xml.XmlNode The node holding the value.
rhs double The value to compare against.
리턴 bool

GreaterOrEqual() 공개 정적인 메소드

Compares two decimal instances to determine if the first is equal to or larger than the second.
public static GreaterOrEqual ( decimal lhs, decimal rhs ) : bool
lhs decimal The first decimal.
rhs decimal The second decimal.
리턴 bool

GreaterOrEqual() 공개 정적인 메소드

Compares two string instances to determine if the first is equal to or larger than the second.
public static GreaterOrEqual ( string lhs, string rhs ) : bool
lhs string The first string.
rhs string The second string.
리턴 bool

Iff() 공개 정적인 메소드

Calculates the "if and only if" of the given predicate result values.
public static Iff ( bool lhs, bool rhs ) : bool
lhs bool The first predicate value.
rhs bool The second predicate value.
리턴 bool

Implies() 공개 정적인 메소드

Calculates the logical-implication of the given predicate result values.
public static Implies ( bool lhs, bool rhs ) : bool
lhs bool The first predicate value.
rhs bool The second predicate value.
리턴 bool

Less() 공개 정적인 메소드

Determines if the value of a Date is less than the value of another.
public static Less ( Date lhs, Date rhs ) : bool
lhs HandCoded.Finance.Date The to compare.
rhs HandCoded.Finance.Date The to compare with.
리턴 bool

Less() 공개 정적인 메소드

Determines if the value of a HandCoded.Finance.DateTime is less than the value of another.
public static Less ( HandCoded lhs, HandCoded rhs ) : bool
lhs HandCoded The to compare.
rhs HandCoded The to compare with.
리턴 bool

Less() 공개 정적인 메소드

Determines if the value of a Time is less than the value of another.
public static Less ( Time lhs, Time rhs ) : bool
lhs HandCoded.Finance.Time The to compare.
rhs HandCoded.Finance.Time The to compare with.
리턴 bool

Less() 공개 정적인 메소드

Determines if the value of one node is less than another. If either node is null then the result is false.
public static Less ( XmlNode lhs, XmlNode rhs ) : bool
lhs System.Xml.XmlNode The first node.
rhs System.Xml.XmlNode The second node.
리턴 bool

Less() 공개 정적인 메소드

Determines if the value of a node is less than a given string. If the node is null then the result is false.
public static Less ( XmlNode lhs, string rhs ) : bool
lhs System.Xml.XmlNode The node to be tested.
rhs string A string value to compare with.
리턴 bool

Less() 공개 정적인 메소드

Determines if the value of a decimal is less than the value of another.
public static Less ( decimal lhs, decimal rhs ) : bool
lhs decimal The to compare.
rhs decimal The to compare with.
리턴 bool

Less() 공개 정적인 메소드

Determines if the value of a string is lexiographically less than the value of another.
public static Less ( string lhs, string rhs ) : bool
lhs string The to compare.
rhs string The to compare with.
리턴 bool

LessOrEqual() 공개 정적인 메소드

Compares two Date instances to determine if the first is equal to or smaller than the second.
public static LessOrEqual ( Date lhs, Date rhs ) : bool
lhs HandCoded.Finance.Date The first date.
rhs HandCoded.Finance.Date The second date.
리턴 bool

LessOrEqual() 공개 정적인 메소드

Compares two HandCoded.Finance.DateTime instances to determine if the first is equal to or smaller than the second.
public static LessOrEqual ( HandCoded lhs, HandCoded rhs ) : bool
lhs HandCoded The first DateTime.
rhs HandCoded The second DateTime.
리턴 bool

LessOrEqual() 공개 정적인 메소드

Compares two Time instances to determine if the first is equal to or smaller than the second.
public static LessOrEqual ( Time lhs, Time rhs ) : bool
lhs HandCoded.Finance.Time The first Time.
rhs HandCoded.Finance.Time The second Tie.
리턴 bool

LessOrEqual() 공개 정적인 메소드

Compares two XmlNode instances to determine if the first is equal to or smaller than the second.
public static LessOrEqual ( XmlNode lhs, XmlNode rhs ) : bool
lhs System.Xml.XmlNode The first node.
rhs System.Xml.XmlNode The second node.
리턴 bool

LessOrEqual() 공개 정적인 메소드

Compares a XmlNode instance with a double to determine if the value it holds is smaller or the same.
public static LessOrEqual ( XmlNode lhs, double rhs ) : bool
lhs System.Xml.XmlNode The node holding the value.
rhs double The value to compare against.
리턴 bool

LessOrEqual() 공개 정적인 메소드

Compares two decimal instances to determine if the first is equal to or smaller than the second.
public static LessOrEqual ( decimal lhs, decimal rhs ) : bool
lhs decimal The first decimal.
rhs decimal The second decimal.
리턴 bool

LessOrEqual() 공개 정적인 메소드

Compares two string instances to determine if the first is equal to or smaller than the second.
public static LessOrEqual ( string lhs, string rhs ) : bool
lhs string The first string.
rhs string The second string.
리턴 bool

Logic() 보호된 메소드

Constructs a Logic instance.
protected Logic ( ) : System.Xml
리턴 System.Xml

Not() 공개 정적인 메소드

Calculates the logical-not of the given predicate result value.
public static Not ( bool value ) : bool
value bool The predicate value.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if two Date values are different.
public static NotEqual ( Date lhs, Date rhs ) : bool
lhs HandCoded.Finance.Date The to compare.
rhs HandCoded.Finance.Date The to compare to.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if two HandCoded.Finance.DateTime values are different.
public static NotEqual ( HandCoded lhs, HandCoded rhs ) : bool
lhs HandCoded The to compare.
rhs HandCoded The to compare to.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if two Time values are different.
public static NotEqual ( Time lhs, Time rhs ) : bool
lhs HandCoded.Finance.Time The to compare.
rhs HandCoded.Finance.Time The to compare to.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if two nodes contain the different values.
public static NotEqual ( XmlNode lhs, XmlNode rhs ) : bool
lhs System.Xml.XmlNode The first node to compare.
rhs System.Xml.XmlNode The second node to compare.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if the value of a XmlNode is not the same as a given decimal.
public static NotEqual ( XmlNode lhs, decimal rhs ) : bool
lhs System.Xml.XmlNode The to compare.
rhs decimal The value.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if the value of a XmlNode is not the same as a given int.
public static NotEqual ( XmlNode lhs, int rhs ) : bool
lhs System.Xml.XmlNode The to compare.
rhs int The value.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if the value of a XmlNode is not the same as a given string.
public static NotEqual ( XmlNode lhs, string rhs ) : bool
lhs System.Xml.XmlNode The to compare.
rhs string The value.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if two decimal values are different.
public static NotEqual ( decimal lhs, decimal rhs ) : bool
lhs decimal The to compare.
rhs decimal The to compare to.
리턴 bool

NotEqual() 공개 정적인 메소드

Determines if two string values are different.
public static NotEqual ( string lhs, string rhs ) : bool
lhs string The to compare.
rhs string The to compare to.
리턴 bool

Or() 공개 정적인 메소드

Calculates the logical-or of the given predicate result values.
public static Or ( bool lhs, bool rhs ) : bool
lhs bool The first predicate value.
rhs bool The second predicate value.
리턴 bool