Share via


VBCodeParser.EndTerminatedDirective Method

Definition

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

protected virtual Func<bool> EndTerminatedDirective (string directive, System.Web.Razor.Parser.SyntaxTree.BlockType blockType, System.Web.Razor.Generator.SpanCodeGenerator codeGenerator, bool allowMarkup);
abstract member EndTerminatedDirective : string * System.Web.Razor.Parser.SyntaxTree.BlockType * System.Web.Razor.Generator.SpanCodeGenerator * bool -> Func<bool>
override this.EndTerminatedDirective : string * System.Web.Razor.Parser.SyntaxTree.BlockType * System.Web.Razor.Generator.SpanCodeGenerator * bool -> Func<bool>
Protected Overridable Function EndTerminatedDirective (directive As String, blockType As BlockType, codeGenerator As SpanCodeGenerator, allowMarkup As Boolean) As Func(Of Boolean)

Parameters

directive
String

The directive.

blockType
BlockType

The block type.

codeGenerator
SpanCodeGenerator

The code generator.

allowMarkup
Boolean

true to allow markup; otherwise, false.

Returns

The function that ends the terminated directive.

Applies to