Block 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- contents
- IReadOnlyList<SyntaxTreeNode>
- generator
- IParentChunkGenerator