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)

参数

适用于