3 implementations of IParameterModelConvention
ApplicationModelWebSite (1)
Controllers\ParameterModelController.cs (1)
21
private class CoolAttribute : Attribute,
IParameterModelConvention
Microsoft.AspNetCore.Mvc.Core.Test (2)
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (2)
422
private class SimpleParameterConvention :
IParameterModelConvention
487
private class ParameterModelCollectionModifyingConvention :
IParameterModelConvention
10 references to IParameterModelConvention
Microsoft.AspNetCore.Mvc.Core (9)
ApplicationModels\ApplicationModelConventions.cs (2)
70
.OfType<
IParameterModelConvention
>()
73
foreach (
var
parameterConvention in parameterConventions)
ApplicationModels\IActionModelConvention.cs (1)
15
/// <see cref="
IParameterModelConvention
"/> customizations.
ApplicationModels\IParameterModelConvention.cs (1)
13
/// <see cref="
IParameterModelConvention
"/> customizations run after
DependencyInjection\ApplicationModelConventionExtensions.cs (5)
82
/// Adds a <see cref="
IParameterModelConvention
"/> to all the parameters in the application.
86
/// <param name="parameterModelConvention">The <see cref="
IParameterModelConvention
"/> which needs to be
90
IParameterModelConvention
parameterModelConvention)
117
private readonly
IParameterModelConvention
_parameterModelConvention;
119
public ParameterApplicationModelConvention(
IParameterModelConvention
parameterModelConvention)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1145
var parameterConvention = new Mock<
IParameterModelConvention
>();