Share via


BlockCodeGenerator.GenerateStartBlockCode Method

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

Generates the start of the block code generator for this razor syntax.

Namespace:  System.Web.Razor.Generator
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Overridable Sub GenerateStartBlockCode ( _
    target As Block, _
    context As CodeGeneratorContext _
)
'Usage
Dim instance As BlockCodeGenerator 
Dim target As Block 
Dim context As CodeGeneratorContext

instance.GenerateStartBlockCode(target, _
    context)
public virtual void GenerateStartBlockCode(
    Block target,
    CodeGeneratorContext context
)
public:
virtual void GenerateStartBlockCode(
    Block^ target, 
    CodeGeneratorContext^ context
)
abstract GenerateStartBlockCode : 
        target:Block * 
        context:CodeGeneratorContext -> unit  
override GenerateStartBlockCode : 
        target:Block * 
        context:CodeGeneratorContext -> unit
public function GenerateStartBlockCode(
    target : Block, 
    context : CodeGeneratorContext
)

Parameters

Implements

IBlockCodeGenerator.GenerateStartBlockCode(Block, CodeGeneratorContext)

See Also

Reference

BlockCodeGenerator Class

System.Web.Razor.Generator Namespace