Поделиться через


TagHelperExecutionContext.Reinitialize Метод

Определение

Очищает TagHelperExecutionContext и обновляет его состояние указанными значениями.

public:
 void Reinitialize(System::String ^ tagName, Microsoft::AspNetCore::Razor::TagHelpers::TagMode tagMode, System::Collections::Generic::IDictionary<System::Object ^, System::Object ^> ^ items, System::String ^ uniqueId, Func<System::Threading::Tasks::Task ^> ^ executeChildContentAsync);
public void Reinitialize (string tagName, Microsoft.AspNetCore.Razor.TagHelpers.TagMode tagMode, System.Collections.Generic.IDictionary<object,object> items, string uniqueId, Func<System.Threading.Tasks.Task> executeChildContentAsync);
member this.Reinitialize : string * Microsoft.AspNetCore.Razor.TagHelpers.TagMode * System.Collections.Generic.IDictionary<obj, obj> * string * Func<System.Threading.Tasks.Task> -> unit
Public Sub Reinitialize (tagName As String, tagMode As TagMode, items As IDictionary(Of Object, Object), uniqueId As String, executeChildContentAsync As Func(Of Task))

Параметры

tagName
String

Используемое имя тега.

tagMode
TagMode

Используемый TagMode.

items
IDictionary<Object,Object>

Используемый IDictionary<TKey,TValue>.

uniqueId
String

Уникальный идентификатор для использования.

executeChildContentAsync
Func<Task>

Используемый Func<TResult>.

Применяется к