AttributeBlockCodeGenerator.GenerateStartBlockCode Method
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.
Namespace: System.Web.Razor.Generator
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Overrides Sub GenerateStartBlockCode ( _
target As Block, _
context As CodeGeneratorContext _
)
'Usage
Dim instance As AttributeBlockCodeGenerator
Dim target As Block
Dim context As CodeGeneratorContext
instance.GenerateStartBlockCode(target, _
context)
public override void GenerateStartBlockCode(
Block target,
CodeGeneratorContext context
)
public:
virtual void GenerateStartBlockCode(
Block^ target,
CodeGeneratorContext^ context
) override
abstract GenerateStartBlockCode :
target:Block *
context:CodeGeneratorContext -> unit
override GenerateStartBlockCode :
target:Block *
context:CodeGeneratorContext -> unit
public override function GenerateStartBlockCode(
target : Block,
context : CodeGeneratorContext
)
Parameters
- target
Type: System.Web.Razor.Parser.SyntaxTree.Block
The target block.
- context
Type: System.Web.Razor.Generator.CodeGeneratorContext
The code generator context.
Implements
IBlockCodeGenerator.GenerateStartBlockCode(Block, CodeGeneratorContext)