Compartir a través de


DefaultViewComponentActivator.Release(ViewComponentContext, Object) Método

Definición

Libera una instancia de ViewComponent.

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

Parámetros

context
ViewComponentContext

Objeto ViewComponentContext asociado a viewComponent.

viewComponent
Object

ViewComponent que se va a liberar.

Implementaciones

Se aplica a