Partilhar via


ServiceBasedViewComponentActivator.Release Método

Definição

Libera uma instância 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

O ViewComponentContext associado ao viewComponent.

viewComponent
Object

O ViewComponent a ser liberado.

Implementações

Aplica-se a