C# 클래스 LitDev.LDLogic

파일 보기 프로젝트 열기: litdev1/LitDev

공개 메소드들

메소드 설명
And ( Primitive value1, Primitive value2 ) : Primitive

The And operator. And("True","True") = "True" And("False","False") = "False" And("True","False") = "False" And("False","True") = "False"

EQ ( Primitive value1, Primitive value2 ) : Primitive

The equality operator. Checks if value1 is equal to value2. It also works for strings, where a lexical comparison is made.

GE ( Primitive value1, Primitive value2 ) : Primitive

The greater than or equal operator. Checks if value1 is greater than or equal to value2. It also works for strings, where a lexical comparison is made.

GT ( Primitive value1, Primitive value2 ) : Primitive

The greater than operator. Checks if value1 is greater than value2. It also works for strings, where a lexical comparison is made.

LE ( Primitive value1, Primitive value2 ) : Primitive

The less than or equal operator. Checks if value1 is less than or equal to value2. It also works for strings, where a lexical comparison is made.

LT ( Primitive value1, Primitive value2 ) : Primitive

The less than operator. Checks if value1 is less than value2. It also works for strings, where a lexical comparison is made.

NE ( Primitive value1, Primitive value2 ) : Primitive

The inequality operator. Checks if value1 is not equal to value2. It also works for strings, where a lexical comparison is made.

Not ( Primitive value ) : Primitive

The Not operator. Not("True") = "False" Not("False") = "True"

Or ( Primitive value1, Primitive value2 ) : Primitive

The Or operator. Or("True","True") = "True" Or("False","False") = "False" Or("True","False") = "True" Or("False","True") = "True"

Switch ( Primitive condition, Primitive value1, Primitive value2 ) : Primitive

A sorthand conditional statement.

XOr ( Primitive value1, Primitive value2 ) : Primitive

The XOr (exclusive or) operator. XOr("True","True") = "False" XOr("False","False") = "False" XOr("True","False") = "True" XOr("False","True") = "True"

메소드 상세

And() 공개 정적인 메소드

The And operator. And("True","True") = "True" And("False","False") = "False" And("True","False") = "False" And("False","True") = "False"
public static And ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value ("True" or "False").
value2 Primitive The second value ("True" or "False").
리턴 Primitive

EQ() 공개 정적인 메소드

The equality operator. Checks if value1 is equal to value2. It also works for strings, where a lexical comparison is made.
public static EQ ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value.
value2 Primitive The second value.
리턴 Primitive

GE() 공개 정적인 메소드

The greater than or equal operator. Checks if value1 is greater than or equal to value2. It also works for strings, where a lexical comparison is made.
public static GE ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value.
value2 Primitive The second value.
리턴 Primitive

GT() 공개 정적인 메소드

The greater than operator. Checks if value1 is greater than value2. It also works for strings, where a lexical comparison is made.
public static GT ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value.
value2 Primitive The second value.
리턴 Primitive

LE() 공개 정적인 메소드

The less than or equal operator. Checks if value1 is less than or equal to value2. It also works for strings, where a lexical comparison is made.
public static LE ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value.
value2 Primitive The second value.
리턴 Primitive

LT() 공개 정적인 메소드

The less than operator. Checks if value1 is less than value2. It also works for strings, where a lexical comparison is made.
public static LT ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value.
value2 Primitive The second value.
리턴 Primitive

NE() 공개 정적인 메소드

The inequality operator. Checks if value1 is not equal to value2. It also works for strings, where a lexical comparison is made.
public static NE ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value.
value2 Primitive The second value.
리턴 Primitive

Not() 공개 정적인 메소드

The Not operator. Not("True") = "False" Not("False") = "True"
public static Not ( Primitive value ) : Primitive
value Primitive The value to operate on ("True" or "False").
리턴 Primitive

Or() 공개 정적인 메소드

The Or operator. Or("True","True") = "True" Or("False","False") = "False" Or("True","False") = "True" Or("False","True") = "True"
public static Or ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value ("True" or "False").
value2 Primitive The second value ("True" or "False").
리턴 Primitive

Switch() 공개 정적인 메소드

A sorthand conditional statement.
public static Switch ( Primitive condition, Primitive value1, Primitive value2 ) : Primitive
condition Primitive A condition or variable that evaluates to "True" or "False".
value1 Primitive The value to return if condition is "True".
value2 Primitive The value to return if condition is "False".
리턴 Primitive

XOr() 공개 정적인 메소드

The XOr (exclusive or) operator. XOr("True","True") = "False" XOr("False","False") = "False" XOr("True","False") = "True" XOr("False","True") = "True"
public static XOr ( Primitive value1, Primitive value2 ) : Primitive
value1 Primitive The first value ("True" or "False").
value2 Primitive The second value ("True" or "False").
리턴 Primitive