共用方式為


Block 建構函式

定義

多載

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)

參數

source
BlockBuilder

適用於

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)

參數

適用於