DistributedCacheTagHelper Constructor

Definition

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

htmlEncoder
HtmlEncoder

The HtmlEncoder.

Applies to