Dela via


ConsumesConstraintForFormFileParameterConvention.Apply(ActionModel) Method

Definition

Called to apply the convention to the 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)

Parameters

action
ActionModel

The ActionModel.

Implements

Applies to