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)
1037public IActionResult FromRouteWithCustomName([FromRoute(Name = "top")] int value) => null; 1043public IActionResult FromRouteOnComplexTypeWithCustomName([FromRoute(Name = "gps")] GpsCoordinates gpsCoordinates) => null;
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
302public 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)
936ValidateParameter(GetOpenApiOperation(([FromRoute(Name = "routeName")] string param) => ""), "routeName"); 937ValidateParameter(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.