共用方式為


WebApiRoutesApplicationModelConvention.Apply(ControllerModel) 方法

定義

public:
 virtual void Apply(Microsoft::AspNetCore::Mvc::ApplicationModels::ControllerModel ^ controller);
public void Apply (Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller);
abstract member Apply : Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel -> unit
override this.Apply : Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel -> unit
Public Sub Apply (controller As ControllerModel)

參數

controller
ControllerModel

實作

適用於