{"id":19101921,"url":"https://github.com/dataneek/paginable-collections","last_synced_at":"2025-04-18T19:31:21.460Z","repository":{"id":95122660,"uuid":"47165994","full_name":"dataneek/paginable-collections","owner":"dataneek","description":"PaginableCollections is a set of abstractions and extensions used to provide developers with a consistent way to paginate their data across all .NET (and .NET Core) application stacks.","archived":false,"fork":false,"pushed_at":"2018-11-15T04:32:28.000Z","size":240,"stargazers_count":56,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-04T11:06:12.364Z","etag":null,"topics":["collections","extensions","page","pager","paginable","paging","queryable"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dataneek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-12-01T04:43:31.000Z","updated_at":"2024-07-20T15:30:25.000Z","dependencies_parsed_at":"2023-08-26T11:40:03.126Z","dependency_job_id":"c2362642-a4cd-490b-93b6-0e350c42b970","html_url":"https://github.com/dataneek/paginable-collections","commit_stats":null,"previous_names":["neekgreen/paginablecollections","dataneek/paginable-collections"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataneek%2Fpaginable-collections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataneek%2Fpaginable-collections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataneek%2Fpaginable-collections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataneek%2Fpaginable-collections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dataneek","download_url":"https://codeload.github.com/dataneek/paginable-collections/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223783194,"owners_count":17201912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collections","extensions","page","pager","paginable","paging","queryable"],"created_at":"2024-11-09T03:53:32.230Z","updated_at":"2025-04-18T19:31:21.453Z","avatar_url":"https://github.com/dataneek.png","language":"C#","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"PaginableCollections\n====================\n\n[![Build status](https://ci.appveyor.com/api/projects/status/8hedo7ja62gaq022?svg=true)](https://ci.appveyor.com/project/neekgreen/paginablecollections)\n[![NuGet](https://img.shields.io/nuget/v/paginablecollections.svg)](https://www.nuget.org/packages/paginablecollections) \n[![NuGet](https://img.shields.io/nuget/dt/paginablecollections.svg)](https://www.nuget.org/packages/paginablecollections) \n[![CodeFactor](https://www.codefactor.io/repository/github/neekgreen/paginable-collections/badge)](https://www.codefactor.io/repository/github/neekgreen/paginablecollections)\n\nA light weight pagination framework for .NET and .NET Core.\n\n[![something](https://img.shields.io/badge/.NET-4.5-blue.svg)](https://img.shields.io/badge/.NET-4.5-blue.svg)\n[![something](https://img.shields.io/badge/.netstandard-1.3-blue.svg)](https://img.shields.io/badge/.netstandard-1.3-blue.svg)\n[![something](https://img.shields.io/badge/.netstandard-2.0-blue.svg)](https://img.shields.io/badge/.netstandard-1.3-blue.svg)\n\n### Installing PaginableCollections\n\nYou should install [PaginableCollections with NuGet](https://www.nuget.org/packages/paginablecollections):\n\n    Install-Package PaginableCollections\n    \nThis command will download and install PaginableCollections. Let me know if you have questions!\n\n\n## TD;DR\n\n```csharp\n\nvar numbers = new int[] { 2, 4, 5, 1, 6, 8, 2, 0, 4, 3, 4, 1, 5, 9, 7, 0, 2, 4, 8, 9 };\n\nvar pageNumber = 2;\nvar itemCountPerPage = 6;\n\nvar paginable = numbers.ToPaginable(pageNumber, itemCountPerPage);\n\nforeach(var t in paginable)\n{\n    Console.WriteLine($\"{t.ItemNumber}, {t.Item}\");\n}\n\n//output\n1, 2\n2, 0\n3, 4\n4, 3\n5, 4 \n6, 1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdataneek%2Fpaginable-collections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdataneek%2Fpaginable-collections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdataneek%2Fpaginable-collections/lists"}