TagHelperContext Constructeurs
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.
Surcharges
TagHelperContext(TagHelperAttributeList, IDictionary<Object,Object>, String)
Instancie un nouveau TagHelperContext.
public:
TagHelperContext(Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttributeList ^ allAttributes, System::Collections::Generic::IDictionary<System::Object ^, System::Object ^> ^ items, System::String ^ uniqueId);
public TagHelperContext (Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList allAttributes, System.Collections.Generic.IDictionary<object,object> items, string uniqueId);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList * System.Collections.Generic.IDictionary<obj, obj> * string -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext
Public Sub New (allAttributes As TagHelperAttributeList, items As IDictionary(Of Object, Object), uniqueId As String)
Paramètres
- allAttributes
- TagHelperAttributeList
Chaque attribut associé à l’élément HTML actuel.
- items
- IDictionary<Object,Object>
Collection d’éléments utilisés pour communiquer avec d’autres ITagHelpers.
- uniqueId
- String
Identificateur unique de l’élément source auquel cela TagHelperContext s’applique.
S’applique à
TagHelperContext(String, TagHelperAttributeList, IDictionary<Object,Object>, String)
Instancie un nouveau TagHelperContext.
public:
TagHelperContext(System::String ^ tagName, Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttributeList ^ allAttributes, System::Collections::Generic::IDictionary<System::Object ^, System::Object ^> ^ items, System::String ^ uniqueId);
public TagHelperContext (string tagName, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList allAttributes, System.Collections.Generic.IDictionary<object,object> items, string uniqueId);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext : string * Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList * System.Collections.Generic.IDictionary<obj, obj> * string -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext
Public Sub New (tagName As String, allAttributes As TagHelperAttributeList, items As IDictionary(Of Object, Object), uniqueId As String)
Paramètres
- tagName
- String
Nom de la balise HTML analysée de l’élément.
- allAttributes
- TagHelperAttributeList
Chaque attribut associé à l’élément HTML actuel.
- items
- IDictionary<Object,Object>
Collection d’éléments utilisés pour communiquer avec d’autres ITagHelpers.
- uniqueId
- String
Identificateur unique de l’élément source auquel cela TagHelperContext s’applique.
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