ChunkInheritanceUtility 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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))
参数
- razorHost
- MvcRazorHost
MvcRazorHost用于分析页面的 _ViewImports
。
- chunkTreeCache
- IChunkTreeCache
IChunkTreeCache 缓存 ChunkTree 实例的 。
- defaultInheritedChunks
- IReadOnlyList<Chunk>
默认情况下继承的 Chunk序列。