RazorCodeGenerator.BlockContext Constructor

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

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

Syntax

'Declaration
Public Sub New ( _
    type As BlockType, _
    writer As CodeWriter _
)
'Usage
Dim type As BlockType
Dim writer As CodeWriter

Dim instance As New RazorCodeGenerator..::..BlockContext(type, writer)
public BlockContext(
    BlockType type,
    CodeWriter writer
)
public:
BlockContext(
    BlockType type, 
    CodeWriter^ writer
)
public function RazorCodeGenerator..::..BlockContext(
    type : BlockType, 
    writer : CodeWriter
)

Parameters

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

RazorCodeGenerator.BlockContext Class

System.Web.Razor.Generator Namespace