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()

适用于