Implemented interface member:
property
Name
Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider.Name
15 writes to Name
BasicWebSite (1)
Controllers\ContactApiController.cs (1)
81[ModelBinder(typeof(TestModelBinder), Name = "bar")] string foo)
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
102new ModelBinderAttribute { BinderType = typeof(ComplexObjectModelBinder), Name = "Test" },
Microsoft.AspNetCore.Mvc.Core.Test (8)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (3)
1010public IActionResult ModelBinderAttribute([ModelBinder(Name = "top")] int value) => null; 1070public IActionResult ModelBinderAttributeWithExplicitModelName([ModelBinder(Name = "top")] int value) => null; 1076public IActionResult ModelBinderTypeWithExplicitModelName([ModelBinder(typeof(TestModelBinder), Name = "foo")] string name) => null;
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (4)
64new ModelBinderAttribute() { Name = "Product" }, 65new ModelBinderAttribute() { Name = "Order" }, 88new ModelBinderAttribute() { Name = "Product" }, 89new ModelBinderAttribute() { Name = "Order" },
ModelBinding\Metadata\ModelAttributesTest.cs (1)
332[ModelBinder(Name = "Custom")]
Microsoft.AspNetCore.Mvc.IntegrationTests (4)
ComplexRecordIntegrationTest.cs (1)
2629[ModelBinder(Name = "HomeAddress")]
ComplexTypeIntegrationTestBase.cs (1)
2805[ModelBinder(Name = "HomeAddress")]
FormFileModelBindingIntegrationTest.cs (2)
467[ModelBinder(Name = "files")] 551[ModelBinder(Name = "files")]
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
927public void OnPost(string name, [ModelBinder(Name = "personId")] int id) { }