共用方式為


TagHelperContext 建構函式

定義

多載

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

將新的 TagHelperContext 具現化。

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

將新的 TagHelperContext 具現化。

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

來源:
TagHelperContext.cs
來源:
TagHelperContext.cs
來源:
TagHelperContext.cs

將新的 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)

參數

allAttributes
TagHelperAttributeList

與目前 HTML 專案相關聯的每個屬性。

items
IDictionary<Object,Object>

用來與其他 ITagHelper 專案通訊的專案集合。

uniqueId
String

TagHelperContext 用至之來源專案的唯一識別碼。

適用於

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

來源:
TagHelperContext.cs
來源:
TagHelperContext.cs
來源:
TagHelperContext.cs

將新的 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)

參數

tagName
String

已剖析的 HTML 標籤名稱。

allAttributes
TagHelperAttributeList

與目前 HTML 專案相關聯的每個屬性。

items
IDictionary<Object,Object>

用來與其他 ITagHelper 專案通訊的專案集合。

uniqueId
String

TagHelperContext 用至之來源專案的唯一識別碼。

適用於