Udostępnij za pośrednictwem


IViewComponentActivator.Release(ViewComponentContext, Object) Metoda

Definicja

Zwalnia wystąpienie ViewComponent.

public:
 void Release(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context, System::Object ^ viewComponent);
public void Release (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object viewComponent);
abstract member Release : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext * obj -> unit
Public Sub Release (context As ViewComponentContext, viewComponent As Object)

Parametry

context
ViewComponentContext

Klasa ViewComponentContext skojarzona z klasą viewComponent.

viewComponent
Object

Element ViewComponent do wydania.

Dotyczy