Tokenizer<TSymbol,TSymbolType>.Stay Method
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.
Overloads
| Name | Description |
|---|---|
| Stay(TSymbol) |
Returns a result containing the specified output and indicating that the next call to Turn() should re-invoke the current state. |
| Stay() |
Returns a result indicating that this state has no output and the machine should remain in this state |
Stay(TSymbol)
Returns a result containing the specified output and indicating that the next call to Turn() should re-invoke the current state.
protected:
Microsoft::AspNetCore::Razor::Tokenizer::Tokenizer<TSymbol, TSymbolType>::StateResult Stay(TSymbol result);
protected Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<TSymbol,TSymbolType>.StateResult Stay(TSymbol result);
member this.Stay : 'Symbol -> Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'SymbolType : struct)>.StateResult
Protected Function Stay (result As TSymbol) As Tokenizer(Of TSymbol, TSymbolType).StateResult
Parameters
- result
- TSymbol
Returns
Applies to
Stay()
Returns a result indicating that this state has no output and the machine should remain in this state
protected:
Microsoft::AspNetCore::Razor::Tokenizer::Tokenizer<TSymbol, TSymbolType>::StateResult Stay();
protected Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<TSymbol,TSymbolType>.StateResult Stay();
member this.Stay : unit -> Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'SymbolType : struct)>.StateResult
Protected Function Stay () As Tokenizer(Of TSymbol, TSymbolType).StateResult
Returns
Remarks
By returning no output, the state machine will re-invoke the current state again before returning controller to the caller of Turn()