Implemented interface members:
property
Name
Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider.Name
property
Name
Microsoft.AspNetCore.Http.Metadata.IFromRouteMetadata.Name
7 writes to Name
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (2)
1037
public IActionResult FromRouteWithCustomName([FromRoute(
Name
= "top")] int value) => null;
1043
public IActionResult FromRouteOnComplexTypeWithCustomName([FromRoute(
Name
= "gps")] GpsCoordinates gpsCoordinates) => null;
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
302
public void OnPost(string param1, [FromRoute(
Name
= "id")] int param2)
Infrastructure\PageBinderFactoryTest.cs (2)
904
[FromRoute(
Name
= "route-value")]
921
[FromRoute(
Name
= "route-value")]
Microsoft.AspNetCore.OpenApi.Tests (2)
Services\OpenApiGeneratorTests.cs (2)
936
ValidateParameter(GetOpenApiOperation(([FromRoute(
Name
= "routeName")] string param) => ""), "routeName");
937
ValidateParameter(GetOpenApiOperation(([FromRoute(
Name
= "routeName")] string param) => "", "/{param}"), "routeName");
1 reference to Name
Microsoft.AspNetCore.Mvc.Core (1)
FromRouteAttribute.cs (1)
15
/// or the name specified in the <see cref="
Name
"/> property.