Del via


ChunkInheritanceUtility.MergeInheritedChunkTrees Method

Definition

Merges Chunk inherited by default and ChunkTree instances produced by parsing _ViewImports files into the specified chunkTree.

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)

Parameters

chunkTree
ChunkTree

The ChunkTree to merge in to.

inheritedChunkTrees
IReadOnlyList<ChunkTree>

IReadOnlyList<T> inherited from _ViewImports files.

defaultModel
String

The default model Type name.

Applies to