TagHelperContext Constructors

Definition

Overloads

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

Instantiates a new TagHelperContext.

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

Instantiates a new TagHelperContext.

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

Source:
TagHelperContext.cs
Source:
TagHelperContext.cs

Instantiates a new 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)

Parameters

allAttributes
TagHelperAttributeList

Every attribute associated with the current HTML element.

items
IDictionary<Object,Object>

Collection of items used to communicate with other ITagHelpers.

uniqueId
String

The unique identifier for the source element this TagHelperContext applies to.

Applies to

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

Source:
TagHelperContext.cs
Source:
TagHelperContext.cs

Instantiates a new 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)

Parameters

tagName
String

The parsed HTML tag name of the element.

allAttributes
TagHelperAttributeList

Every attribute associated with the current HTML element.

items
IDictionary<Object,Object>

Collection of items used to communicate with other ITagHelpers.

uniqueId
String

The unique identifier for the source element this TagHelperContext applies to.

Applies to