C# 클래스 Adf.Data.InternalState.InternalStatusEngine

Represents System.Collections.Hashtable containg all the rules regarding InternalStatus. Provides methods to add rule, change internal status etc.
파일 보기 프로젝트 열기: NLADP/ADF

공개 메소드들

메소드 설명
AddRule ( InternalStatus current, InternalStatus desired ) : void

Adds a rule regarding the specified current and desired InternalStatuses to the InternalStatusEngine.

AddRule ( InternalStatus current, InternalStatus desired, InternalStatus outcome ) : void

Adds a rule regarding the specified current, desired and outcome InternalStatuses to the InternalStatusEngine.

BuildUp ( ) : void

Adds all the rules regarding InternalStatus to the InternalStatusEngine.

ChangeStatus ( InternalStatus current, InternalStatus desired ) : InternalStatus

Changes the InternalStatus using the specified current and desired InternalStatuses and returns the resultant InternalStatus.

InternalStatusEngine ( ) : System.Collections

Initilizes a new instance of InternalStatusEngine class.

비공개 메소드들

메소드 설명
ParseKey ( InternalStatus current, InternalStatus desired ) : string

Returns a string comprising the specified current InternalStatus and desired InternalStatus.

메소드 상세

AddRule() 공개 메소드

Adds a rule regarding the specified current and desired InternalStatuses to the InternalStatusEngine.
public AddRule ( InternalStatus current, InternalStatus desired ) : void
current InternalStatus The current .
desired InternalStatus The desired .
리턴 void

AddRule() 공개 메소드

Adds a rule regarding the specified current, desired and outcome InternalStatuses to the InternalStatusEngine.
public AddRule ( InternalStatus current, InternalStatus desired, InternalStatus outcome ) : void
current InternalStatus The current .
desired InternalStatus The desired .
outcome InternalStatus The outcome .
리턴 void

BuildUp() 공개 메소드

Adds all the rules regarding InternalStatus to the InternalStatusEngine.
public BuildUp ( ) : void
리턴 void

ChangeStatus() 공개 메소드

Changes the InternalStatus using the specified current and desired InternalStatuses and returns the resultant InternalStatus.
public ChangeStatus ( InternalStatus current, InternalStatus desired ) : InternalStatus
current InternalStatus The current .
desired InternalStatus The desired .
리턴 InternalStatus

InternalStatusEngine() 공개 메소드

Initilizes a new instance of InternalStatusEngine class.
public InternalStatusEngine ( ) : System.Collections
리턴 System.Collections