StateMachine<TReturn> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the state of the machine.
public abstract class StateMachine<TReturn>
type StateMachine<'Return> = class
Public MustInherit Class StateMachine(Of TReturn)
Type Parameters
- TReturn
The generic type Return.
- Inheritance
-
StateMachine<TReturn>
- Derived
Constructors
StateMachine<TReturn>() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the StateMachine<TReturn> class. |
Properties
CurrentState |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the current state of the machine. |
StartState |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the starting state of the machine. |
Methods
Stay() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Stays into the machine during the transition. |
Stay(TReturn) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Stays into the machine during the transition with the specified output. |
Stop() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Disables the machine upon transition. |
Transition(StateMachine<TReturn>.State) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the new transition of the state. |
Transition(TReturn, StateMachine<TReturn>.State) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the new transition of the state with the specified output. |
Turn() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Describes the turning process of the state. |