Block Constructor
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the Block class.
Namespace: System.Web.Razor.Parser.SyntaxTree
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Sub New ( _
source As BlockBuilder _
)
'Usage
Dim source As BlockBuilder
Dim instance As New Block(source)
public Block(
BlockBuilder source
)
public:
Block(
BlockBuilder^ source
)
new :
source:BlockBuilder -> Block
public function Block(
source : BlockBuilder
)
Parameters
- source
Type: System.Web.Razor.Parser.SyntaxTree.BlockBuilder
The source for the block builder.