Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
ParseKey ( InternalStatus current, InternalStatus desired ) : string |
Returns a string comprising the specified current InternalStatus and desired InternalStatus.
|
public AddRule ( InternalStatus current, InternalStatus desired ) : void | ||
current | InternalStatus | The current |
desired | InternalStatus | The desired |
return | void |
public AddRule ( InternalStatus current, InternalStatus desired, InternalStatus outcome ) : void | ||
current | InternalStatus | The current |
desired | InternalStatus | The desired |
outcome | InternalStatus | The outcome |
return | void |
public ChangeStatus ( InternalStatus current, InternalStatus desired ) : InternalStatus | ||
current | InternalStatus | The current |
desired | InternalStatus | The desired |
return | InternalStatus |
public InternalStatusEngine ( ) : System.Collections | ||
return | System.Collections |