共用方式為


DefaultControllerActivator.Create(ControllerContext) 方法

定義

建立控制器。

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

參數

controllerContext
ControllerContext

傳回

實作

適用於