Dela via


MvcRazorHost(IChunkTreeCache, ITagHelperDescriptorResolver) Constructor

Definition

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.

Applies to