ChunkInheritanceUtility Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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))
Parameters
- razorHost
- MvcRazorHost
The MvcRazorHost used to parse _ViewImports
pages.
- chunkTreeCache
- IChunkTreeCache
IChunkTreeCache that caches ChunkTree instances.
- defaultInheritedChunks
- IReadOnlyList<Chunk>
Sequence of Chunks inherited by default.