Udostępnij za pośrednictwem


LabelTagHelper.ProcessAsync(TagHelperContext, TagHelperOutput) Metoda

Definicja

Asynchronicznie wykonuje element TagHelper z daną context wartością i output.

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

Parametry

context
TagHelperContext

Zawiera informacje skojarzone z bieżącym tagiem HTML.

output
TagHelperOutput

Stanowy element HTML służący do generowania tagu HTML.

Zwraca

Element Task po zakończeniu aktualizuje element output.

Uwagi

Nic nie robi, jeśli For ma wartość null.

Dotyczy