Tokenizer<TSymbol, TSymbolType>.TakeAll Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Takes the string if found in the lookahead buffer into the tokenizer buffer.

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

protected bool TakeAll(
	string expected,
	bool caseSensitive
)

Parameters

expected
Type: System.String
The string to match.
caseSensitive
Type: System.Boolean
true to indicate comparison is case sensitive; otherwise, false.

Return Value

Type: System.Boolean
true if the lookahead buffer contains the expected string; otherwise, false.
Show: