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