公开更多代码

This commit is contained in:
龙腾猫跃
2024-05-26 23:53:25 +08:00
parent 0811b4f382
commit c23fecfe14
17 changed files with 2403 additions and 39 deletions
@@ -149,9 +149,6 @@ Public Class PageLinkIoi
''' 检查某个玩家名是否合法。
''' </summary>
Private Shared Function IsPlayerNameValid(Name As String) As Boolean
For Each ValidateRule As Validate In {New ValidateNullOrWhiteSpace, New ValidateLength(0, 20), New ValidateFilter}
If Not String.IsNullOrEmpty(ValidateRule.Validate(Name)) Then Return False
Next
Return True
End Function