39 instantiations of BindNeverAttribute
BasicWebSite (2)
Controllers\BindPropertiesController.cs (1)
22[BindNever]
Controllers\BindPropertiesWithValidationController.cs (1)
22[BindNever]
FormatterWebSite (1)
Controllers\TopLevelValidationController.cs (1)
27[BindProperty, BindNever, Required] public string BindNeverRequiredProp { get; set; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (7)
ModelBinding\BindingInfoTest.cs (7)
87var attributes = new object[] { new ControllerAttribute(), new BindNeverAttribute(), }; 151new BindNeverAttribute(), 177var attributes = new object[] { new ControllerAttribute(), new BindNeverAttribute(), }; 202new BindNeverAttribute(), 228new BindNeverAttribute(), 254new BindNeverAttribute(), 276new BindNeverAttribute(),
Microsoft.AspNetCore.Mvc.Core.Test (21)
Controllers\ControllerBinderDelegateProviderTest.cs (2)
1385[Required, BindNever] public string RequiredButBindNeverProperty { get; set; } 1432[BindNever] object param2,
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (7)
1215[BindNever] 1218[BindNever] 1221[BindNever] 1224[BindNever] 1232[BindNever] 1235[BindNever] 1265[BindNever]
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (7)
1390[BindNever] 1393[BindNever] 1396[BindNever] 1399[BindNever] 1407[BindNever] 1410[BindNever] 1440[BindNever]
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (5)
181new BindNeverAttribute(), 296new BindNeverAttribute(), 417new BindNeverAttribute(), 563new BindNeverAttribute(), 871[BindNever]
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
DataAnnotationsModelValidatorProviderTest.cs (2)
129var attributes = new object[] { new BindNeverAttribute(), new DummyValidationAttribute() }; 143var attributes = new object[] { new BindNeverAttribute(), };
ModelMetadataProviderTest.cs (1)
1025[BindNever]
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
ActionParametersIntegrationTest.cs (1)
950[BindNever] int bindNeverParam,
BindPropertyIntegrationTest.cs (1)
302[BindNever] public string BindNeverProp { get; set; }
ComplexRecordIntegrationTest.cs (1)
3614public record RecordTypeWithFilteredProperty1([BindNever] string Id, string Name);
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\PageBinderFactoryTest.cs (2)
948[BindNever] 960public void OnGetWithBindNever([BindNever] string id)
1 reference to BindNeverAttribute
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\BindNeverAttribute.cs (1)
17/// Initializes a new <see cref="BindNeverAttribute"/> instance.