StateMachine<TReturn>.Transition Method (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.
Namespace: System.Web.Razor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Function Transition ( _
newState As StateMachine<TReturn>.State _
) As StateMachine<TReturn>.StateResult
'Usage
Dim newState As StateMachine<TReturn>.State
Dim returnValue As StateMachine<TReturn>.StateResult
returnValue = Me.Transition(newState)
protected StateMachine<TReturn>.StateResult Transition(
StateMachine<TReturn>.State newState
)
protected:
StateMachine<TReturn>.StateResult^ Transition(
StateMachine<TReturn>.State^ newState
)
member Transition :
newState:StateMachine<TReturn>.State -> StateMachine<TReturn>.StateResult
protected function Transition(
newState : StateMachine<TReturn>.State
) : StateMachine<TReturn>.StateResult
Parameters
- newState
Type: System.Web.Razor.StateMachine<TReturn>.State
The new state.
Return Value
Type: System.Web.Razor.StateMachine<TReturn>.StateResult
The new transition of the state.