共用方式為


ServiceBasedControllerActivator.Create(ControllerContext) 方法

定義

建立控制器。

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

參數

actionContext
ControllerContext

傳回

實作

適用於