共用方式為


TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.ReadWhile 方法

定義

protected public:
 System::Collections::Generic::IEnumerable<TSymbol> ^ ReadWhile(Func<TSymbol, bool> ^ condition);
protected internal System.Collections.Generic.IEnumerable<TSymbol> ReadWhile (Func<TSymbol,bool> condition);
member this.ReadWhile : Func<'Symbol, bool (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)> -> seq<'Symbol (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)>
Protected Friend Function ReadWhile (condition As Func(Of TSymbol, Boolean)) As IEnumerable(Of TSymbol)

參數

condition
Func<TSymbol,Boolean>

傳回

IEnumerable<TSymbol>

適用於