Share via


IControllerModelConvention Interface

Definition

Allows customization of the ControllerModel.

public interface class IControllerModelConvention
public interface IControllerModelConvention
type IControllerModelConvention = interface
Public Interface IControllerModelConvention
Derived

Remarks

To use this interface, create an Attribute class which implements the interface and place it on a controller class.

IControllerModelConvention customizations run after IApplicationModelConvention customizations and before IActionModelConvention customizations.

Methods

Apply(ControllerModel)

Called to apply the convention to the ControllerModel.

Applies to