Condividi tramite


DefaultViewComponentFactory.ReleaseViewComponentAsync Metodo

Definizione

Rilascia un'istanza del componente di visualizzazione in modo asincrono.

public System.Threading.Tasks.ValueTask ReleaseViewComponentAsync (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object component);
abstract member ReleaseViewComponentAsync : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext * obj -> System.Threading.Tasks.ValueTask
override this.ReleaseViewComponentAsync : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext * obj -> System.Threading.Tasks.ValueTask
Public Function ReleaseViewComponentAsync (context As ViewComponentContext, component As Object) As ValueTask

Parametri

context
ViewComponentContext

Contesto associato a component.

component
Object

Componente di visualizzazione.

Restituisce

Oggetto ValueTask che viene completato al rilascio del componente di visualizzazione.

Implementazioni

Si applica a