StateMachine<TReturn> Class
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.
Inheritance Hierarchy
System.Object
System.Web.Razor.StateMachine<TReturn>
System.Web.Razor.Tokenizer.Tokenizer<TSymbol, TSymbolType>
Namespace: System.Web.Razor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public MustInherit Class StateMachine(Of TReturn)
'Usage
Dim instance As StateMachine(Of TReturn)
public abstract class StateMachine<TReturn>
generic<typename TReturn>
public ref class StateMachine abstract
[<AbstractClassAttribute>]
type StateMachine<'TReturn> = class end
JScript does not support generic types and methods.
Type Parameters
- TReturn
The generic type Return.
The StateMachine<TReturn> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
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. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
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. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
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. |
![]() |
ToString | (Inherited from Object.) |
![]() |
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. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.