TagHelperContext Constructeurs

Définition

Surcharges

TagHelperContext(TagHelperAttributeList, IDictionary<Object,Object>, String)

Instancie un nouveau TagHelperContext.

TagHelperContext(String, TagHelperAttributeList, IDictionary<Object,Object>, String)

Instancie un nouveau TagHelperContext.

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 à