Compartilhar via


DefaultViewComponentFactory.ReleaseViewComponent Método

Definição

Libera uma instância de componente de exibição.

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

Parâmetros

context
ViewComponentContext

O contexto associado ao component.

component
Object

O componente de exibição.

Implementações

Aplica-se a