TagHelperExecutionContext.Reinitialize Method

Definition

Clears the TagHelperExecutionContext and updates its state with the provided values.

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))

Parameters

tagName
String

The tag name to use.

tagMode
TagMode

The TagMode to use.

uniqueId
String

The unique id to use.

executeChildContentAsync
Func<Task>

The Func<TResult> to use.

Applies to