TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput) TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput) TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput) Method

Definition

Asynchronously executes the TagHelper with the given context and output.

public virtual System.Threading.Tasks.Task ProcessAsync (Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output);
abstract member ProcessAsync : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext * Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput -> System.Threading.Tasks.Task
override this.ProcessAsync : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext * Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput -> System.Threading.Tasks.Task
Public Overridable Function ProcessAsync (context As TagHelperContext, output As TagHelperOutput) As Task

Parameters

context
TagHelperContext TagHelperContext TagHelperContext

Contains information associated with the current HTML tag.

output
TagHelperOutput TagHelperOutput TagHelperOutput

A stateful HTML element used to generate an HTML tag.

Returns

A Task that on completion updates the output.

Implements

Remarks

By default this calls into Process(TagHelperContext, TagHelperOutput).

Applies to