Tokenizer(TSymbol, TSymbolType).TakeUntil Method

Parses the source document until the condition specified by predicate is met or end file is reached.

Namespace:  System.Web.Razor.Tokenizer
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected function TakeUntil(
	predicate : Func<char, boolean>
) : boolean

Parameters

predicate
Type: System.Func(Char, Boolean)
The predicate that specifies the processing condition.

Return Value

Type: System.Boolean
true if the predicate condition is met; false if end of file is reached.
Show: