86 instantiations of BindPropertyAttribute
FormatterWebSite (7)
Controllers\TopLevelValidationController.cs (7)
13[BindProperty] public int OptionalProp { get; set; } 14[BindProperty, Required] public int RequiredProp { get; set; } 15[BindProperty, BindRequired] public int BindRequiredProp { get; set; } 16[BindProperty, Required, BindRequired] public int RequiredAndBindRequiredProp { get; set; } 17[BindProperty, StringLength(5)] public string OptionalStringLengthProp { get; set; } 18[BindProperty, Range(1, 100), DisplayName("Some Display Name For Prop")] public int OptionalRangeDisplayNameProp { get; set; } 27[BindProperty, BindNever, Required] public string BindNeverRequiredProp { get; set; }
Identity.DefaultUI.WebSite (3)
Pages\Contoso\Login.cshtml.cs (3)
30[BindProperty] 33[BindProperty(SupportsGet = true)] 36[BindProperty]
Identity.ExternalClaims (13)
Pages\Account\ExternalLogin.cshtml.cs (1)
33[BindProperty]
Pages\Account\ForgotPassword.cshtml.cs (1)
27[BindProperty]
Pages\Account\Login.cshtml.cs (1)
29[BindProperty]
Pages\Account\LoginWith2fa.cshtml.cs (1)
28[BindProperty]
Pages\Account\LoginWithRecoveryCode.cshtml.cs (2)
28[BindProperty] 35[BindProperty]
Pages\Account\Manage\ChangePassword.cshtml.cs (1)
33[BindProperty]
Pages\Account\Manage\EnableAuthenticator.cshtml.cs (1)
43[BindProperty]
Pages\Account\Manage\Index.cshtml.cs (1)
41[BindProperty]
Pages\Account\Manage\SetPassword.cshtml.cs (1)
29[BindProperty]
Pages\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
36[BindProperty]
Pages\Account\Register.cshtml.cs (1)
37[BindProperty]
Pages\Account\ResetPassword.cshtml.cs (1)
25[BindProperty]
IdentitySample.DefaultUI (2)
Areas\Identity\Pages\Account\Manage\Index.cshtml.cs (1)
30[BindProperty]
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
34[BindProperty]
Microsoft.AspNetCore.Identity.UI (32)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
29[BindProperty]
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
26[BindProperty]
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
27[BindProperty]
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
25[BindProperty]
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (2)
25[BindProperty] 44[BindProperty]
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
22[BindProperty]
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (1)
22[BindProperty]
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (1)
43[BindProperty]
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
52[BindProperty]
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (1)
34[BindProperty]
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
21[BindProperty]
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
33[BindProperty]
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
30[BindProperty]
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
26[BindProperty]
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
25[BindProperty]
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
29[BindProperty]
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
26[BindProperty]
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
27[BindProperty]
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
25[BindProperty]
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (2)
25[BindProperty] 44[BindProperty]
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (1)
22[BindProperty]
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (1)
22[BindProperty]
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (1)
43[BindProperty]
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
52[BindProperty]
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (1)
34[BindProperty]
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (1)
21[BindProperty]
Areas\Identity\Pages\V5\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
33[BindProperty]
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
30[BindProperty]
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
26[BindProperty]
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
25[BindProperty]
Microsoft.AspNetCore.Mvc.Abstractions.Test (2)
ModelBinding\BindingInfoTest.cs (2)
71new BindPropertyAttribute { Name = "PropertyPrefix", SupportsGet = true, }, 200new BindPropertyAttribute(),
Microsoft.AspNetCore.Mvc.Core.Test (4)
Controllers\ControllerBinderDelegateProviderTest.cs (4)
789RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute()).RequestPredicate, 802RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute()).RequestPredicate, 852RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute()).RequestPredicate, 865RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute()).RequestPredicate,
Microsoft.AspNetCore.Mvc.IntegrationTests (6)
BindPropertyIntegrationTest.cs (6)
32BindingInfo = BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }), 59BindingInfo = BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() { SupportsGet = true } }), 86BindingInfo = BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }), 111BindingInfo = BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }), 147BindingInfo = BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }), 266BindingInfo = BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }),
Microsoft.AspNetCore.Mvc.RazorPages.Test (10)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (4)
188[BindProperty] 199[BindProperty] 345[BindProperty] 428[BindProperty]
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (3)
959[BindProperty] 965[BindProperty] 1003[BindProperty(SupportsGet = true)]
Infrastructure\PageBinderFactoryTest.cs (3)
366RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute() { SupportsGet = true }).RequestPredicate, 425RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute() { SupportsGet = true }).RequestPredicate, 940[BindProperty(SupportsGet = true)]
RazorPagesWebSite (7)
Pages\CustomModelTypeModel.cshtml.cs (1)
13[BindProperty]
Pages\PropertyBinding\PageModelWithPropertyBinding.cs (1)
17[BindProperty(SupportsGet = true)]
Pages\Validation\PageWithCompareValidation.cs (3)
12[BindProperty(SupportsGet = true)] 16[BindProperty(SupportsGet = true)] 20[BindProperty(SupportsGet = true)]
Pages\Validation\PageWithValidation.cs (2)
12[BindProperty(SupportsGet = true)] 16[BindProperty(SupportsGet = true)]
1 reference to BindPropertyAttribute
Microsoft.AspNetCore.Mvc.Core (1)
BindPropertyAttribute.cs (1)
15/// Similar to <see cref="ModelBinderAttribute"/>. Unlike that attribute, <see cref="BindPropertyAttribute"/>