16 implementations of IActionModelConvention
ApiExplorerWebSite (1)
ApiExplorerRouteChangeConvention.cs (1)
8
public class ApiExplorerRouteChangeConvention : Attribute,
IActionModelConvention
ApplicationModelWebSite (5)
Controllers\ActionModelController.cs (1)
25
private class ActionName2Attribute : Attribute,
IActionModelConvention
Controllers\HomeController.cs (2)
40
private class SuppressPatchMatchingConvention : Attribute,
IActionModelConvention
49
private class SuppressLinkGenerationConvention : Attribute,
IActionModelConvention
Conventions\ActionDescriptionAttribute.cs (1)
8
public class ActionDescriptionAttribute : Attribute,
IActionModelConvention
Conventions\FromHeaderConvention.cs (1)
9
public class FromHeaderConvention :
IActionModelConvention
Microsoft.AspNetCore.Mvc.Core (7)
ApplicationModels\ApiConventionApplicationModelConvention.cs (1)
17
public class ApiConventionApplicationModelConvention :
IActionModelConvention
ApplicationModels\ApiVisibilityConvention.cs (1)
9
public class ApiVisibilityConvention :
IActionModelConvention
ApplicationModels\ClientErrorResultFilterConvention.cs (1)
13
public class ClientErrorResultFilterConvention :
IActionModelConvention
ApplicationModels\ConsumesConstraintForFormFileParameterConvention.cs (1)
14
public class ConsumesConstraintForFormFileParameterConvention :
IActionModelConvention
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
26
public class InferParameterBindingInfoConvention :
IActionModelConvention
ApplicationModels\InvalidModelStateFilterConvention.cs (1)
13
public class InvalidModelStateFilterConvention :
IActionModelConvention
ApplicationModels\RouteTokenTransformerConvention.cs (1)
13
public class RouteTokenTransformerConvention :
IActionModelConvention
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1950
private class MixedRoutingConventionAttribute : Attribute,
IActionModelConvention
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (2)
430
private class SimpleActionConvention :
IActionModelConvention
470
private class ActionModelCollectionModifyingConvention :
IActionModelConvention
25 references to IActionModelConvention
Microsoft.AspNetCore.Mvc.Core (24)
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (3)
23
ActionModelConventions = new List<
IActionModelConvention
>()
63
public List<
IActionModelConvention
> ActionModelConventions { get; }
83
foreach (
var
convention in ActionModelConventions)
ApplicationModels\ApiConventionApplicationModelConvention.cs (2)
11
/// An <see cref="
IActionModelConvention
"/> that discovers
51
/// Determines if this instance of <see cref="
IActionModelConvention
"/> applies to a specified <paramref name="action"/>.
ApplicationModels\ApiVisibilityConvention.cs (2)
7
/// A <see cref="
IActionModelConvention
"/> that sets Api Explorer visibility.
27
/// Determines if this instance of <see cref="
IActionModelConvention
"/> applies to a specified <paramref name="action"/>.
ApplicationModels\ApplicationModelConventions.cs (2)
55
.OfType<
IActionModelConvention
>()
58
foreach (
var
actionConvention in actionConventions)
ApplicationModels\ClientErrorResultFilterConvention.cs (2)
10
/// An <see cref="
IActionModelConvention
"/> that adds a <see cref="IFilterMetadata"/>
31
/// Determines if this instance of <see cref="
IActionModelConvention
"/> applies to a specified <paramref name="action"/>.
ApplicationModels\ConsumesConstraintForFormFileParameterConvention.cs (2)
11
/// An <see cref="
IActionModelConvention
"/> that adds a <see cref="ConsumesAttribute"/> with <c>multipart/form-data</c>
30
/// Determines if this instance of <see cref="
IActionModelConvention
"/> applies to a specified <paramref name="action"/>.
ApplicationModels\IActionModelConvention.cs (1)
13
/// <see cref="
IActionModelConvention
"/> customizations run after
ApplicationModels\IControllerModelConvention.cs (1)
15
/// <see cref="
IActionModelConvention
"/> customizations.
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
14
/// An <see cref="
IActionModelConvention
"/> that infers <see cref="BindingInfo.BindingSource"/> for parameters.
ApplicationModels\InvalidModelStateFilterConvention.cs (1)
10
/// An <see cref="
IActionModelConvention
"/> that adds a <see cref="IFilterMetadata"/>
ApplicationModels\IParameterModelConvention.cs (1)
14
/// <see cref="
IActionModelConvention
"/> customizations.
ApplicationModels\RouteTokenTransformerConvention.cs (1)
9
/// An <see cref="
IActionModelConvention
"/> that sets attribute routing token replacement
DependencyInjection\ApplicationModelConventionExtensions.cs (5)
65
/// Adds a <see cref="
IActionModelConvention
"/> to all the actions in the application.
69
/// <param name="actionModelConvention">The <see cref="
IActionModelConvention
"/> which needs to be
73
IActionModelConvention
actionModelConvention)
173
private readonly
IActionModelConvention
_actionModelConvention;
175
public ActionApplicationModelConvention(
IActionModelConvention
actionModelConvention)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1140
var actionConvention = new Mock<
IActionModelConvention
>();