LINQPadDialogs 0.5.0
See the version list below for details.
dotnet add package LINQPadDialogs --version 0.5.0
NuGet\Install-Package LINQPadDialogs -Version 0.5.0
<PackageReference Include="LINQPadDialogs" Version="0.5.0" />
paket add LINQPadDialogs --version 0.5.0
#r "nuget: LINQPadDialogs, 0.5.0"
// Install LINQPadDialogs as a Cake Addin #addin nuget:?package=LINQPadDialogs&version=0.5.0 // Install LINQPadDialogs as a Cake Tool #tool nuget:?package=LINQPadDialogs&version=0.5.0
LINQPadDialogs
A helper library that provides the ability to implement interactive user interfaces using LINQPad's built-in Controls.
Features
I will be gradually developing and supplementing this library.
Interactivity Features
It provides a simple async/await method to display multiple buttons, and to see what button the user has selected in the console.
If needed, you can customize the ButtonArray
types that are added to the LINQPad.Controls
namespace.
Here is an example of the code:
using LINQPad.Controls;
switch (await Dialog.YesNo<string>("Are you happy now?", "yes", "no"))
{
case "yes":
"Answer: Yes".Dump();
break;
case "no":
"Answer: No".Dump();
break;
default:
"Answer: ?".Dump();
break;
}
Caveats
If you write a script using the features provided by this package, it may not be possible to run it with the lprun
CLI tool.
License
This project is licensed under the Apache License 2.0.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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 was computed. 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. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 is compatible. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has 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.