Compartir a través de


DefaultViewComponentFactory.CreateViewComponent(ViewComponentContext) Método

Definición

Crea un nuevo controlador para el especificado context.

public:
 virtual System::Object ^ CreateViewComponent(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public object CreateViewComponent (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member CreateViewComponent : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> obj
override this.CreateViewComponent : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> obj
Public Function CreateViewComponent (context As ViewComponentContext) As Object

Parámetros

context
ViewComponentContext

ViewComponentContext para el componente de vista.

Devoluciones

Componente de vista.

Implementaciones

Se aplica a