Class State
State data model, state management and comparison instructions
Assembly: cs.temp.dll.dll
[Serializable]
[Serializable]
public class State
Fields
Index of state in current list
Declaration
Field Value
Index of state in current list
Declaration
Field Value
Bitwise value of state for comparison
Declaration
Field Value
Bitwise value of state for comparison
Declaration
Field Value
Index of State in all available state list
Declaration
Field Value
Index of State in all available state list
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Current value of state (e.g on/off etc)
Declaration
Field Value
Current value of state (e.g on/off etc)
Declaration
Field Value
Methods
Returns true if two state objects have identical internal values, false otherwise
Declaration
public bool CompareState(State s)
Parameters
Type |
Name |
Description |
State |
s |
other State object to compare against
|
Returns
Type |
Description |
Boolean |
true if identical internal values, false otherwise
|
Returns true if two state objects have identical internal values, false otherwise
Declaration
public bool CompareState(State s)
Parameters
Type |
Name |
Description |
State |
s |
other State object to compare against
|
Returns
Type |
Description |
Boolean |
true if identical internal values, false otherwise
|
Create copy of current State with identical values
Declaration
Returns
Type |
Description |
State |
copied instance of this State
|
Create copy of current State with identical values
Declaration
Returns
Type |
Description |
State |
copied instance of this State
|
Declaration
[Obsolete("Use Bit property")]
public int ToBit()
Returns
Declaration
[Obsolete("Use Bit property")]
public int ToBit()
Returns
Declaration
[Obsolete("Use Index property")]
public int ToInt()
Returns
Declaration
[Obsolete("Use Index property")]
public int ToInt()
Returns
Declaration
public override string ToString()
Returns
Overrides
Declaration
public override string ToString()
Returns
Overrides