ChunkInheritanceUtility.MergeInheritedChunkTrees Método

Definición

Combina Chunk heredadas de forma predeterminada y ChunkTree las instancias generadas mediante el análisis de archivos _ViewImports en el especificado 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)

Parámetros

chunkTree
ChunkTree

En el ChunkTree que se va a combinar.

inheritedChunkTrees
IReadOnlyList<ChunkTree>

IReadOnlyList<T> heredado de archivos _ViewImports .

defaultModel
String

Nombre del modelo predeterminado Type .

Se aplica a