ApplicationModelConventionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the extension methods for Conventions.
public static class ApplicationModelConventionExtensions
type ApplicationModelConventionExtensions = class
Public Module ApplicationModelConventionExtensions
- Inheritance
-
ApplicationModelConventionExtensions
Methods
Add(IList<IApplicationModelConvention>, IActionModelConvention) |
Adds a IActionModelConvention to all the actions in the application. |
Add(IList<IApplicationModelConvention>, IControllerModelConvention) |
Adds a IControllerModelConvention to all the controllers in the application. |
Add(IList<IApplicationModelConvention>, IParameterModelBaseConvention) |
Adds a IParameterModelBaseConvention to all properties and parameters in the application. |
Add(IList<IApplicationModelConvention>, IParameterModelConvention) |
Adds a IParameterModelConvention to all the parameters in the application. |
RemoveType(IList<IApplicationModelConvention>, Type) |
Removes all application model conventions of the specified type. |
RemoveType<TApplicationModelConvention>(IList<IApplicationModelConvention>) |
Removes all application model conventions of the specified type. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for