共用方式為


Tokenizer<TSymbol,TSymbolType>.Stay 方法

定義

多載

Stay(TSymbol)

傳回包含指定輸出的結果,並指出 下一次呼叫 應該重新叫 Turn() 用目前狀態。

Stay()

傳回結果,指出此狀態沒有輸出,而且機器應該維持在這個狀態

Stay(TSymbol)

傳回包含指定輸出的結果,並指出 下一次呼叫 應該重新叫 Turn() 用目前狀態。

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

參數

result
TSymbol

傳回

適用於

Stay()

傳回結果,指出此狀態沒有輸出,而且機器應該維持在這個狀態

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

傳回

備註

藉由傳回沒有輸出,狀態機器會在將控制器傳回給 的呼叫端之前,再次重新叫用目前的狀態 Turn()

適用於