DistributedCacheTagHelper 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.
Creates a new CacheTagHelper.
public:
DistributedCacheTagHelper(Microsoft::AspNetCore::Mvc::TagHelpers::Cache::IDistributedCacheTagHelperService ^ distributedCacheService, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public DistributedCacheTagHelper (Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService distributedCacheService, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
new Microsoft.AspNetCore.Mvc.TagHelpers.DistributedCacheTagHelper : Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService * System.Text.Encodings.Web.HtmlEncoder -> Microsoft.AspNetCore.Mvc.TagHelpers.DistributedCacheTagHelper
Public Sub New (distributedCacheService As IDistributedCacheTagHelperService, htmlEncoder As HtmlEncoder)
Parameters
- distributedCacheService
- IDistributedCacheTagHelperService
- htmlEncoder
- HtmlEncoder
The HtmlEncoder.