Sdílet prostřednictvím


TagHelperContext Konstruktory

Definice

Přetížení

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

Vytvoří instanci nového TagHelperContextobjektu .

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

Vytvoří instanci nového TagHelperContextobjektu .

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

Zdroj:
TagHelperContext.cs
Zdroj:
TagHelperContext.cs
Zdroj:
TagHelperContext.cs

Vytvoří instanci nového TagHelperContextobjektu .

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)

Parametry

allAttributes
TagHelperAttributeList

Každý atribut přidružený k aktuálnímu elementu HTML.

items
IDictionary<Object,Object>

Kolekce položek používaných ke komunikaci s jinými ITagHelpers.

uniqueId
String

Jedinečný identifikátor zdrojového prvku, pro který se to TagHelperContext týká.

Platí pro

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

Zdroj:
TagHelperContext.cs
Zdroj:
TagHelperContext.cs
Zdroj:
TagHelperContext.cs

Vytvoří instanci nového TagHelperContextobjektu .

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)

Parametry

tagName
String

Název parsované značky HTML elementu.

allAttributes
TagHelperAttributeList

Každý atribut přidružený k aktuálnímu elementu HTML.

items
IDictionary<Object,Object>

Kolekce položek používaných ke komunikaci s jinými ITagHelpers.

uniqueId
String

Jedinečný identifikátor zdrojového prvku, pro který se to TagHelperContext týká.

Platí pro