共用方式為


ConsumesConstraintForFormFileParameterConvention.Apply(ActionModel) 方法

定義

呼叫 以將慣例套用至 ActionModel

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

參數

實作

適用於