chore: 🔨 喜欢就点个 Star️ 吧! (#127)

This commit is contained in:
2024-05-22 19:23:36 +08:00
committed by GitHub
parent e5208cd751
commit a01acddb9c
3 changed files with 14 additions and 2 deletions

View File

@ -10,7 +10,7 @@ public sealed class PortAttribute : RangeAttribute
/// Initializes a new instance of the <see cref="PortAttribute" /> class.
/// </summary>
public PortAttribute() //
: base(1, 65535)
: base(1, ushort.MaxValue)
{
ErrorMessageResourceName = nameof(Ln.);
ErrorMessageResourceType = typeof(Ln);