TakeUntil Method

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 bool TakeUntil(
	Func<char, bool> 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.
© 2016 Microsoft