MvcRazorHost(IChunkTreeCache, ITagHelperDescriptorResolver) 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 MvcRazorHost using the specified chunkTreeCache
.
public:
MvcRazorHost(Microsoft::AspNetCore::Mvc::Razor::Directives::IChunkTreeCache ^ chunkTreeCache, Microsoft::AspNetCore::Razor::Compilation::TagHelpers::ITagHelperDescriptorResolver ^ resolver);
public MvcRazorHost (Microsoft.AspNetCore.Mvc.Razor.Directives.IChunkTreeCache chunkTreeCache, Microsoft.AspNetCore.Razor.Compilation.TagHelpers.ITagHelperDescriptorResolver resolver);
new Microsoft.AspNetCore.Mvc.Razor.MvcRazorHost : Microsoft.AspNetCore.Mvc.Razor.Directives.IChunkTreeCache * Microsoft.AspNetCore.Razor.Compilation.TagHelpers.ITagHelperDescriptorResolver -> Microsoft.AspNetCore.Mvc.Razor.MvcRazorHost
Public Sub New (chunkTreeCache As IChunkTreeCache, resolver As ITagHelperDescriptorResolver)
Parameters
- chunkTreeCache
- IChunkTreeCache
An IChunkTreeCache rooted at the application base path.
- resolver
- ITagHelperDescriptorResolver
The ITagHelperDescriptorResolver used to resolve tag helpers on razor views.