Прочитај на енглеском

Делите путем


ChunkInheritanceUtility Class

Definition

A utility type for supporting inheritance of directives into a page from applicable _ViewImports pages.

C#
public class ChunkInheritanceUtility
Inheritance
ChunkInheritanceUtility

Constructors

Methods

GetInheritedChunkTreeResults(String)

Gets an ordered IReadOnlyList<T> of parsed ChunkTrees and file paths for each _ViewImports that is applicable to the page located at pagePath. The list is ordered so that the ChunkTreeResult's ChunkTree for the _ViewImports closest to the pagePath in the file system appears first.

MergeInheritedChunkTrees(ChunkTree, IReadOnlyList<ChunkTree>, String)

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

Applies to

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