| Class: | Api.Utils.PaginationResult<T> |
|---|---|
| Assembly: | Api |
| File(s): | /home/runner/work/ProjectRead.ing/ProjectRead.ing/Api/Utils/PaginationResult.cs |
| Covered lines: | 0 |
|---|---|
| Uncovered lines: | 7 |
| Coverable lines: | 7 |
| Total lines: | 13 |
| Line coverage: | 0% |
| Covered branches: | 0 |
|---|---|
| Total branches: | 0 |
| Branch coverage: | N/A |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Crap Score | Cyclomatic complexity | Line coverage |
|---|---|---|---|---|
| .ctor(...) | 100% | 2 | 1 | 0% |
| # | Line | Line coverage | ||
|---|---|---|---|---|
1 | // SPDX-FileCopyrightText: 2026 Alper Çelik <[email protected]> | |||
2 | // | |||
3 | // SPDX-License-Identifier: AGPL-3.0-or-later | |||
4 | | |||
5 | namespace Api.Utils; | |||
6 | | |||
| 0 | 7 | public record PaginationResult<T>( | ||
| 0 | 8 | IReadOnlyCollection<T> Items, | ||
| 0 | 9 | int TotalCount, | ||
| 0 | 10 | int PageSize, | ||
| 0 | 11 | int CurrentPage, | ||
| 0 | 12 | int TotalPages | ||
| 0 | 13 | ); |