Partager via


ChunkInheritanceUtility Constructeur

Définition

Initialise une nouvelle instance de ChunkInheritanceUtility.

public:
 ChunkInheritanceUtility(Microsoft::AspNetCore::Mvc::Razor::MvcRazorHost ^ razorHost, Microsoft::AspNetCore::Mvc::Razor::Directives::IChunkTreeCache ^ chunkTreeCache, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Razor::Chunks::Chunk ^> ^ defaultInheritedChunks);
public ChunkInheritanceUtility (Microsoft.AspNetCore.Mvc.Razor.MvcRazorHost razorHost, Microsoft.AspNetCore.Mvc.Razor.Directives.IChunkTreeCache chunkTreeCache, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.Chunk> defaultInheritedChunks);
new Microsoft.AspNetCore.Mvc.Razor.Directives.ChunkInheritanceUtility : Microsoft.AspNetCore.Mvc.Razor.MvcRazorHost * Microsoft.AspNetCore.Mvc.Razor.Directives.IChunkTreeCache * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.Chunk> -> Microsoft.AspNetCore.Mvc.Razor.Directives.ChunkInheritanceUtility
Public Sub New (razorHost As MvcRazorHost, chunkTreeCache As IChunkTreeCache, defaultInheritedChunks As IReadOnlyList(Of Chunk))

Paramètres

razorHost
MvcRazorHost

MvcRazorHost utilisé pour analyser les _ViewImports pages.

chunkTreeCache
IChunkTreeCache

IChunkTreeCache qui met en cache les ChunkTree instances.

defaultInheritedChunks
IReadOnlyList<Chunk>

Séquence de Chunks héritée par défaut.

S’applique à