다음을 통해 공유


ServiceBasedViewComponentActivator.Create(ViewComponentContext) 메서드

정의

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

매개 변수

context
ViewComponentContext

ViewComponentContext 실행 중인 에 대한 입니다ViewComponent.

반환

구현

적용 대상