Share via


Block Constructors

Definition

Overloads

Block(BlockBuilder)
Block(Nullable<BlockType>, IReadOnlyList<SyntaxTreeNode>, IParentChunkGenerator)

Block(BlockBuilder)

public:
 Block(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::BlockBuilder ^ source);
public Block (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.BlockBuilder source);
new Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.BlockBuilder -> Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block
Public Sub New (source As BlockBuilder)

Parameters

source
BlockBuilder

Applies to

Block(Nullable<BlockType>, IReadOnlyList<SyntaxTreeNode>, IParentChunkGenerator)

protected:
 Block(Nullable<Microsoft::AspNetCore::Razor::Parser::SyntaxTree::BlockType> type, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Razor::Parser::SyntaxTree::SyntaxTreeNode ^> ^ contents, Microsoft::AspNetCore::Razor::Chunks::Generators::IParentChunkGenerator ^ generator);
protected Block (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.BlockType? type, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode> contents, Microsoft.AspNetCore.Razor.Chunks.Generators.IParentChunkGenerator generator);
new Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block : Nullable<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.BlockType> * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode> * Microsoft.AspNetCore.Razor.Chunks.Generators.IParentChunkGenerator -> Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block
Protected Sub New (type As Nullable(Of BlockType), contents As IReadOnlyList(Of SyntaxTreeNode), generator As IParentChunkGenerator)

Parameters

Applies to