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>

适用于