VBCodeParser.EndTerminatedDirective Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.