TagHelperContext Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| TagHelperContext(TagHelperAttributeList, IDictionary<Object,Object>, String) |
Vytvoří instanci nové TagHelperContext. |
| TagHelperContext(String, TagHelperAttributeList, IDictionary<Object,Object>, String) |
Vytvoří instanci nové TagHelperContext. |
TagHelperContext(TagHelperAttributeList, IDictionary<Object,Object>, String)
Vytvoří instanci nové 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)
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 ITagHelperpoložkami.
- uniqueId
- String
Jedinečný identifikátor zdrojového prvku, na který se vztahuje TagHelperContext .
Platí pro
TagHelperContext(String, TagHelperAttributeList, IDictionary<Object,Object>, String)
Vytvoří instanci nové 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)
Parametry
- tagName
- String
Analyzovaný název 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 ITagHelperpoložkami.
- uniqueId
- String
Jedinečný identifikátor zdrojového prvku, na který se vztahuje TagHelperContext .