DistributedCacheTagHelper Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un 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)
Paramètres
- distributedCacheService
- IDistributedCacheTagHelperService
L’IDistributedCacheTagHelperServiceopérateur
- htmlEncoder
- HtmlEncoder
L’HtmlEncoderopérateur
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour