Base:
property
BinderModelName
Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.BinderModelName
12 writes to BinderModelName
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\DefaultModelBindingContext.cs (2)
216BinderModelName = binderModelName, 268BinderModelName = modelMetadata.BinderModelName;
Microsoft.AspNetCore.Mvc.Core.Test (10)
ModelBinding\Binders\BodyModelBinderTests.cs (6)
83bindingContext.BinderModelName = "custom"; 140bindingContext.BinderModelName = "custom"; 178bindingContext.BinderModelName = "custom"; 206bindingContext.BinderModelName = "custom"; 234bindingContext.BinderModelName = "custom"; 634bindingContext.BinderModelName = bindingContext.ModelName;
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1111BinderModelName = metadata.BinderModelName,
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1275BinderModelName = metadata.BinderModelName,
ModelBinding\Binders\HeaderModelBinderTests.cs (1)
352BinderModelName = metadata.BinderModelName,
ModelBinding\Binders\ServicesModelBinderTest.cs (1)
55BinderModelName = modelMetadata.BinderModelName,
4 references to BinderModelName
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\Binders\BodyModelBinderTests.cs (2)
243Assert.Single(bindingContext.ModelState[bindingContext.BinderModelName].Errors); 244Assert.Equal("Unsupported content type ''.", bindingContext.ModelState[bindingContext.BinderModelName].Errors[0].Exception.Message);
ModelBinding\DefaultModelBindingContextTest.cs (2)
40var originalBinderModelName = bindingContext.BinderModelName; 51Assert.Same(newModelMetadata.BinderModelName, bindingContext.BinderModelName);