Udostępnij za pośrednictwem


ServiceBasedViewComponentActivator.Create(ViewComponentContext) Metoda

Definicja

Tworzy wystąpienie elementu ViewComponent.

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

Parametry

context
ViewComponentContext

Element ViewComponentContext dla wykonywania polecenia ViewComponent.

Zwraca

Implementuje

Dotyczy