IControllerModelConvention Interface¶
Allows customization of the of the Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel
.
- Namespace
Microsoft.AspNetCore.Mvc.ApplicationModels
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
public interface IControllerModelConvention
-
interface
Microsoft.AspNetCore.Mvc.ApplicationModels.
IControllerModelConvention
Methods¶
-
Apply
(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel)¶ Called to apply the convention to the
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel
.Arguments: controller (Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel) – The Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel
.void Apply(ControllerModel controller)
-