VBCodeParser.EndTerminatedStatement Method (VBKeyword, Boolean, Boolean, String)

Ends a termination of statement.

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

protected virtual Func<bool> EndTerminatedStatement(
	VBKeyword keyword,
	bool supportsExit,
	bool supportsContinue,
	string blockName
)

Parameters

keyword
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The keyword.
supportsExit
Type: System.Boolean
true if the termination supports exit; otherwise, false.
supportsContinue
Type: System.Boolean
true if the termination supports continue; otherwise, false.
blockName
Type: System.String
The block name.

Return Value

Type: System.Func<Boolean>
The function that ends the termination.
Show: