Share via


AttributeBlockCodeGenerator.GenerateStartBlockCode Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates code to start the block using the specified parameters.

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 block.

context
CodeGeneratorContext

The code generator context.

Applies to