EndTerminatedDirective Method

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 virtual Func<bool> EndTerminatedDirective(
	string directive,
	BlockType blockType,
	SpanCodeGenerator codeGenerator,
	bool allowMarkup
)

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:
© 2016 Microsoft