共用方式為


IControllerModelConvention.Apply(ControllerModel) 方法

定義

呼叫 以將慣例套用至 ControllerModel

public:
 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
Public Sub Apply (controller As ControllerModel)

參數

適用於