Sdílet prostřednictvím


ChunkInheritanceUtility.MergeInheritedChunkTrees Metoda

Definice

Slučuje Chunk standardně zděděné a ChunkTree instance vytvořené parsováním _ViewImports souborů do zadaného chunkTreeobjektu .

public:
 void MergeInheritedChunkTrees(Microsoft::AspNetCore::Razor::Chunks::ChunkTree ^ chunkTree, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Razor::Chunks::ChunkTree ^> ^ inheritedChunkTrees, System::String ^ defaultModel);
public void MergeInheritedChunkTrees(Microsoft.AspNetCore.Razor.Chunks.ChunkTree chunkTree, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.ChunkTree> inheritedChunkTrees, string defaultModel);
member this.MergeInheritedChunkTrees : Microsoft.AspNetCore.Razor.Chunks.ChunkTree * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.ChunkTree> * string -> unit
Public Sub MergeInheritedChunkTrees (chunkTree As ChunkTree, inheritedChunkTrees As IReadOnlyList(Of ChunkTree), defaultModel As String)

Parametry

chunkTree
ChunkTree

Chcete-li ChunkTree sloučit do.

inheritedChunkTrees
IReadOnlyList<ChunkTree>

IReadOnlyList<T> zděděné ze _ViewImports souborů.

defaultModel
String

Výchozí název modelu Type .

Platí pro