15 references to StringLength
Microsoft.AspNetCore.Identity.UI (12)
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
51
[
StringLength
(7, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
52
[
StringLength
(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
66
[
StringLength
(7, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
42
[
StringLength
(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
65
[
StringLength
(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
47
[
StringLength
(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
51
[
StringLength
(7, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (1)
52
[
StringLength
(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
66
[
StringLength
(7, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (1)
42
[
StringLength
(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
65
[
StringLength
(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
47
[
StringLength
(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
Microsoft.Extensions.AI.Abstractions.Tests (2)
Utilities\AIJsonUtilitiesTests.cs (2)
414
AIFunction func = AIFunctionFactory.Create(([Range(1, 10)] int num, [
StringLength
(100, MinimumLength = 1)] string str) => num + str.Length, serializerOptions: options);
1089
[
StringLength
(100, MinimumLength = 10)]
Microsoft.Extensions.AI.Integration.Tests (1)
ChatClientIntegrationTests.cs (1)
549
[
StringLength
(42)]