Class StreamStateMachine
A state machine for stream states.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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)