Share via


SectionCodeGenerator.GenerateStartBlockCode Method

Definition

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

public override void GenerateStartBlockCode (System.Web.Razor.Parser.SyntaxTree.Block target, System.Web.Razor.Generator.CodeGeneratorContext context);
override this.GenerateStartBlockCode : System.Web.Razor.Parser.SyntaxTree.Block * System.Web.Razor.Generator.CodeGeneratorContext -> unit
Public Overrides Sub GenerateStartBlockCode (target As Block, context As CodeGeneratorContext)

Parameters

target
Block

The target to generate.

context
CodeGeneratorContext

The code generator context.

Applies to