ChunkInheritanceUtility.MergeInheritedChunkTrees Method

Definition

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

C#
public void MergeInheritedChunkTrees (Microsoft.AspNetCore.Razor.Chunks.ChunkTree chunkTree, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.ChunkTree> inheritedChunkTrees, string defaultModel);

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

Производ Верзије
ASP.NET Core 1.0, 1.1