Share via


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
Protected method 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
Protected property 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.
Protected property 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
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method 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.
Protected method 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.
Protected method 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.
Public method ToString (Inherited from Object.)
Protected method 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.
Protected method 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.
Protected method 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.

See Also

Reference

System.Web.Razor Namespace