Share via


StateMachine<TReturn>.Transition Method (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.

Namespace:  System.Web.Razor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Protected Function Transition ( _
    output As TReturn, _
    newState As StateMachine<TReturn>.State _
) As StateMachine<TReturn>.StateResult
'Usage
Dim output As TReturn
Dim newState As StateMachine<TReturn>.State 
Dim returnValue As StateMachine<TReturn>.StateResult 

returnValue = Me.Transition(output, _
    newState)
protected StateMachine<TReturn>.StateResult Transition(
    TReturn output,
    StateMachine<TReturn>.State newState
)
protected:
StateMachine<TReturn>.StateResult^ Transition(
    TReturn output, 
    StateMachine<TReturn>.State^ newState
)
member Transition : 
        output:'TReturn * 
        newState:StateMachine<TReturn>.State -> StateMachine<TReturn>.StateResult
protected function Transition(
    output : TReturn, 
    newState : StateMachine<TReturn>.State
) : StateMachine<TReturn>.StateResult

Parameters

Return Value

Type: System.Web.Razor.StateMachine<TReturn>.StateResult
The new transition of the state with the specified output.

See Also

Reference

StateMachine<TReturn> Class

Transition Overload

System.Web.Razor Namespace