VBCodeParser.EndTerminatedDirective Method

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

Ends a terminated directive.

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

protected function EndTerminatedDirective(
	directive : String, 
	blockType : BlockType, 
	codeGenerator : SpanCodeGenerator, 
	allowMarkup : boolean
) : Func<boolean>

Parameters

directive
Type: System.String
The directive.
blockType
Type: System.Web.Razor.Parser.SyntaxTree.BlockType
The block type.
codeGenerator
Type: System.Web.Razor.Generator.SpanCodeGenerator
The code generator.
allowMarkup
Type: System.Boolean
true to allow markup; otherwise, false.

Return Value

Type: System.Func(Boolean)
The function that ends the terminated directive.
Show: