Condividi tramite


IViewComponentActivator.Release(ViewComponentContext, Object) Metodo

Definizione

Rilascia un'istanza 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)

Parametri

context
ViewComponentContext

Oggetto ViewComponentContext associato all'oggetto viewComponent.

viewComponent
Object

Oggetto ViewComponent da liberare.

Si applica a