Compartir a través de


TagHelperContext Constructores

Definición

Sobrecargas

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

Crea una instancia de un nuevo objeto TagHelperContext.

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

Crea una instancia de un nuevo objeto TagHelperContext.

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

Source:
TagHelperContext.cs
Source:
TagHelperContext.cs
Source:
TagHelperContext.cs

Crea una instancia de un nuevo objeto 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)

Parámetros

allAttributes
TagHelperAttributeList

Cada atributo asociado al elemento HTML actual.

items
IDictionary<Object,Object>

Colección de elementos usados para comunicarse con otros ITagHelper.

uniqueId
String

Identificador único del elemento de origen al que TagHelperContext se aplica.

Se aplica a

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

Source:
TagHelperContext.cs
Source:
TagHelperContext.cs
Source:
TagHelperContext.cs

Crea una instancia de un nuevo objeto 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)

Parámetros

tagName
String

Nombre de etiqueta HTML analizado del elemento.

allAttributes
TagHelperAttributeList

Cada atributo asociado al elemento HTML actual.

items
IDictionary<Object,Object>

Colección de elementos usados para comunicarse con otros ITagHelper.

uniqueId
String

Identificador único del elemento de origen al que TagHelperContext se aplica.

Se aplica a