Class StreamStateMachine
A state machine for stream states.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class StreamStateMachine : StateMachine<StreamState>
Constructors
StreamStateMachine()
Initializes a new instance of the StreamStateMachine class.
Declaration
public StreamStateMachine()
Methods
StateToValue(StreamState)
Converts a state to an integer value.
Declaration
protected override int StateToValue(StreamState state)
Parameters
Type | Name | Description |
---|---|---|
StreamState | state | The state. |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
FM.LiveSwitch.StateMachine<FM.LiveSwitch.StreamState>.StateToValue(FM.LiveSwitch.StreamState)
ValueToState(Int32)
Converts an integer value to a state.
Declaration
protected override StreamState ValueToState(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | The integer value. |
Returns
Type | Description |
---|---|
StreamState |
Overrides
FM.LiveSwitch.StateMachine<FM.LiveSwitch.StreamState>.ValueToState(System.Int32)