Tokenizer<TSymbol,TSymbolType>.Stay 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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()