Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

PageList - change access modifiers for some properties (as a protected)

KrzysztofPajakcaa9ee1cc051
diff --git a/src/Core/Grand.Domain/PagedList.cs b/src/Core/Grand.Domain/PagedList.cs
index 17553eecc..6dda29072 100644
--- a/src/Core/Grand.Domain/PagedList.cs
+++ b/src/Core/Grand.Domain/PagedList.cs
@@ -79,10 +79,10 @@ namespace Grand.Domain
return pagelist;
}
- public int PageIndex { get; private set; }
- public int PageSize { get; private set; }
- public int TotalCount { get; private set; }
- public int TotalPages { get; private set; }
+ public int PageIndex { get; protected set; }
+ public int PageSize { get; protected set; }
+ public int TotalCount { get; protected set; }
+ public int TotalPages { get; protected set; }
public bool HasPreviousPage {
get { return (PageIndex > 0); }