C# 클래스 SpeakFriend.Utilities.ConditionBoolean

상속: Condition
파일 보기 프로젝트 열기: teamaton/speak-lib 1 사용 예제들

공개 메소드들

메소드 설명
AddToCriteria ( ICriteria criteria ) : void
AsNullable ( ) : ConditionBoolean
ConditionBoolean ( ConditionContainer conditions, string propertyName ) : System
GetCriterion ( ) : ICriterion
IsActive ( ) : bool

Checks whether this condition is set and contained in the ConditionList.

IsFalse ( ) : bool
IsTrue ( ) : bool
Reset ( ) : void
Set ( bool value ) : ConditionBoolean
SetFalse ( ) : void

Sets the condition to false (and leaves it ACTIVE!).

SetNull ( ) : void

Sets the condition to false (and leaves it ACTIVE!).

SetTrue ( ) : void

Sets the condition to true

SetTrueOrInactive ( bool value ) : void

Sets the condition to [true AND active] or [false AND inactive].

메소드 상세

AddToCriteria() 공개 메소드

public AddToCriteria ( ICriteria criteria ) : void
criteria ICriteria
리턴 void

AsNullable() 공개 메소드

public AsNullable ( ) : ConditionBoolean
리턴 ConditionBoolean

ConditionBoolean() 공개 메소드

public ConditionBoolean ( ConditionContainer conditions, string propertyName ) : System
conditions ConditionContainer
propertyName string
리턴 System

GetCriterion() 공개 메소드

public GetCriterion ( ) : ICriterion
리턴 ICriterion

IsActive() 공개 메소드

Checks whether this condition is set and contained in the ConditionList.
public IsActive ( ) : bool
리턴 bool

IsFalse() 공개 메소드

public IsFalse ( ) : bool
리턴 bool

IsTrue() 공개 메소드

public IsTrue ( ) : bool
리턴 bool

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Set() 공개 메소드

public Set ( bool value ) : ConditionBoolean
value bool
리턴 ConditionBoolean

SetFalse() 공개 메소드

Sets the condition to false (and leaves it ACTIVE!).
public SetFalse ( ) : void
리턴 void

SetNull() 공개 메소드

Sets the condition to false (and leaves it ACTIVE!).
public SetNull ( ) : void
리턴 void

SetTrue() 공개 메소드

Sets the condition to true
public SetTrue ( ) : void
리턴 void

SetTrueOrInactive() 공개 메소드

Sets the condition to [true AND active] or [false AND inactive].
public SetTrueOrInactive ( bool value ) : void
value bool
리턴 void