From 8a9b6f319bde02552990c266da84fcb817c887f0 Mon Sep 17 00:00:00 2001 From: YouWeiDH Date: Wed, 29 May 2024 10:36:27 +0800 Subject: [PATCH] hdong: remove the limit. --- .../BotSharp.Abstraction/Utilities/Pagination.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/Utilities/Pagination.cs b/src/Infrastructure/BotSharp.Abstraction/Utilities/Pagination.cs index 382bd55d..512d27c4 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Utilities/Pagination.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Utilities/Pagination.cs @@ -13,11 +13,8 @@ public class Pagination public int Size { - get + get { - if (_size <= 0) return 20; - if (_size > 100) return 100; - return _size; } set