39 references to 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)
87
var attributes = new object[] { new ControllerAttribute(), new
BindNeverAttribute
(), };
151
new
BindNeverAttribute
(),
177
var attributes = new object[] { new ControllerAttribute(), new
BindNeverAttribute
(), };
202
new
BindNeverAttribute
(),
228
new
BindNeverAttribute
(),
254
new
BindNeverAttribute
(),
276
new
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)
181
new
BindNeverAttribute
(),
296
new
BindNeverAttribute
(),
417
new
BindNeverAttribute
(),
563
new
BindNeverAttribute
(),
871
[
BindNever
]
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
DataAnnotationsModelValidatorProviderTest.cs (2)
129
var attributes = new object[] { new
BindNeverAttribute
(), new DummyValidationAttribute() };
143
var 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)
3614
public record RecordTypeWithFilteredProperty1([
BindNever
] string Id, string Name);
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\PageBinderFactoryTest.cs (2)
948
[
BindNever
]
960
public void OnGetWithBindNever([
BindNever
] string id)