TirsvadCLI.MenuPaginator 0.3.0

dotnet add package TirsvadCLI.MenuPaginator --version 0.3.0
                    
NuGet\Install-Package TirsvadCLI.MenuPaginator -Version 0.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TirsvadCLI.MenuPaginator" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TirsvadCLI.MenuPaginator" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="TirsvadCLI.MenuPaginator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TirsvadCLI.MenuPaginator --version 0.3.0
                    
#r "nuget: TirsvadCLI.MenuPaginator, 0.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=TirsvadCLI.MenuPaginator&version=0.3.0
                    
Install TirsvadCLI.MenuPaginator as a Cake Addin
#tool nuget:?package=TirsvadCLI.MenuPaginator&version=0.3.0
                    
Install TirsvadCLI.MenuPaginator as a Cake Tool

NuGet DownloadsContributorsForksStargazersIssuesLicenseLinkedIn

Logo Menu paginator

Pagination Lib for menu selection in C# console applications.

screenshot 1screenshot 2screenshot 3

Table of Contents

Overview

The Menu Paginator library is a C# library that provides a simple and efficient way to create paginated menus in console applications. It allows you to display a list of menu items in a paginated format, making it easy for users to navigate through lists of menu choice.

Features

  • Pagination: The library allows you to paginate a list of menu items, making it easy to navigate through large lists.
  • Customizable: You can customize the appearance of the menu, including colors, styles, and more.
  • Keyboard Navigation: The library supports F1-F10 for select menu.
  • Easy to Use: The library is easy to use and integrate into your existing console applications.
  • Multi-language support: The library can support multiple languages, making it easy to use in different regions.
  • Example: The library comes with an example project that demonstrates how to use the library.
  • Open Source: The library is open source and available on GitHub, allowing you to contribute and improve the library.

Getting Started

This section will guide you through the installation and setup of the Menu Paginator library in your C# console application.

Prerequisites

  • .NET 9.0 or later

Installation

You can install this library using NuGet Package Manager or by adding the package reference directly to your project file. The library is available on NuGet, so you can easily install it using the NuGet Package Manager Console or the Visual Studio NuGet Package Manager.

Install via NuGet Package Manager Console

You can install this library using the NuGet Package Manager Console. Open the console and run the following command:

Install-Package TirsvadCLI.MenuPaginator
Install via Visual Studio NuGet Package Manager

You can also install this library using the Visual Studio NuGet Package Manager. Follow these steps:

  1. Open your project in Visual Studio.
  2. Right-click on your project in the Solution Explorer and select "Manage NuGet Packages".
  3. Search for "TirsvadCLI.MenuPaginator" in the NuGet Package Manager.
  4. Click "Install" to add the library to your project.
Install via .NET CLI

You can also install this library using the .NET CLI. Open a terminal and run the following command:

dotnet add package TirsvadCLI.MenuPaginator
Clone the repo

Repo size

If you want to clone the repository and build the library from source, you can do so using Git. Make sure you have Git installed on your machine. Then, run the following command in your terminal:

git clone git@github.com:TirsvadCLI/Dotnet.Lib.MenuPaginator.git

Example

In the example you can see how to use the Menu Paginator class.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Translation

We need help for translate to other languages. If you want to help, please create a new issue with the translation. We will add it to the project.

Resources.resx contains the msg that can be translated. The key text is English.

For now we have the following languages:

  • da (Danish)
  • en (English)
  • my (Myanmar)

If can create a new file called Resources.<language>.resx, where <language> is the language code. For example, for Danish, the file should be called Resources.da.resx. The file should contain the same keys as the original file, but with the translated text.

Translation

License

Distributed under the GPL-3.0 License.

Contact

Jens Tirsvad Nielsen - LinkedIn

Acknowledgments

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.0 155 4/23/2025
0.2.2.9 145 4/6/2025
0.2.2.7 120 4/6/2025
0.2.2.6 169 4/3/2025
0.1.0 153 3/30/2025