TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.ReadWhile 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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)
参数
返回
IEnumerable<TSymbol>