Implemented interface members:
property
Name
Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider.Name
property
Name
Microsoft.AspNetCore.Http.Metadata.IFromQueryMetadata.Name
14 writes to Name
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\SharedTypes.cs (2)
695
[FromQuery(
Name
= "customQuery")] int CustomValue,
696
[property: FromQuery(
Name
= "anotherCustomQuery")] int? AnotherCustomValue = null);
Microsoft.AspNetCore.Http.Microbenchmarks (2)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (2)
695
[FromQuery(
Name
= "customQuery")] int CustomValue,
696
[property: FromQuery(
Name
= "anotherCustomQuery")] int? AnotherCustomValue = null);
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
18
new FromQueryAttribute {
Name
= "Test" },
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (3)
DefaultApiDescriptionProviderTest.cs (3)
2494
private void AcceptsEmployee([FromQuery(
Name
= "employee")] Employee dto)
2680
[FromQuery(
Name
= "managerid")]
2683
[FromQuery(
Name
= "name")]
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (3)
1016
public IActionResult FromQueryWithCustomName([FromQuery(
Name
= "top")] int value) => null;
1022
public IActionResult FromQueryOnComplexTypeWithCustomName([FromQuery(
Name
= "gps")] GpsCoordinates gpsCoordinates) => null;
1031
public IActionResult FromQueryOnArrayTypeWithCustomName([FromQuery(
Name
= "ids")] int[] value) => null;
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
BindPropertyIntegrationTest.cs (1)
191
new FromQueryAttribute {
Name
= propertyInfo.Name },
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
938
ValidateParameter(GetOpenApiOperation(([FromQuery(
Name
= "queryName")] string param) => ""), "queryName");
RazorPagesWebSite (1)
Pages\CustomModelTypeModel.cshtml.cs (1)
19
[FromQuery(
Name
= nameof(Attempts))]
1 reference to Name
Microsoft.AspNetCore.Mvc.Core (1)
FromQueryAttribute.cs (1)
14
/// or the name specified in the <see cref="
Name
"/> property.