InteractMenu 1.0.0.1

dotnet add package InteractMenu --version 1.0.0.1                
NuGet\Install-Package InteractMenu -Version 1.0.0.1                
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="InteractMenu" Version="1.0.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add InteractMenu --version 1.0.0.1                
#r "nuget: InteractMenu, 1.0.0.1"                
#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.
// Install InteractMenu as a Cake Addin
#addin nuget:?package=InteractMenu&version=1.0.0.1

// Install InteractMenu as a Cake Tool
#tool nuget:?package=InteractMenu&version=1.0.0.1                

ENGLISH

To use this NuGet package just call the desired function. For the moment there is only one function, list of choices, with only one possible output result.

Example of use :

{
    using InteractMenu;
    class Class1
    {
        private static void Main()
        {
            var menu = new ListMenu();
            var title = "Please make a choice :"
            var liste = new List<string> { "Choice 1", "Choice 2" };
            
            menu.AddListString(liste);
            
            var answer = menu.Ask(titre);
            Console.WriteLine(answer);
        }
    }
}

FRANCAIS

Pour utiliser ce paquet NuGet il suffit d'appeler la fonction désirer. Pour le moment il n'y qu'une fonction, liste de choix, avec un seul résultat de sorti possible.

Exemple d’utilisation :

{
    using InteractMenu;
    class Class1
    {
        private static void Main()
        {
            var menu = new ListMenu();
            var titre = "Veuillez faire un choix :"
            var liste = new List<string> { "Choix 1", "Choix 2" };
            
            menu.AddListString(liste);
            
            var reponse = menu.Ask(titre);
            Console.WriteLine(reponse);
        }
    }
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.0.1 212 9/7/2022
1.0.0 184 9/7/2022