TurtleToastService.Service 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package TurtleToastService.Service --version 1.0.0
NuGet\Install-Package TurtleToastService.Service -Version 1.0.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="TurtleToastService.Service" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TurtleToastService.Service --version 1.0.0
#r "nuget: TurtleToastService.Service, 1.0.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.
// Install TurtleToastService.Service as a Cake Addin
#addin nuget:?package=TurtleToastService.Service&version=1.0.0

// Install TurtleToastService.Service as a Cake Tool
#tool nuget:?package=TurtleToastService.Service&version=1.0.0

<img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/f5544227-dc19-4e2a-a562-24fab120a525" width=100>

TurtleToastService

A straightforward C#/WPF service for displaying toast messages! <br>

TurtleToast.Information("Turtle toast!");

<img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/0d9b7f61-a1c6-485b-b799-65bc301acbbf" width=155>


Key features

  • Built-in queue system with a priority mechanism
  • 4 themes with easy customizability
Light StoneGrey Dark TurtleGreen
<img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/8a7fc994-3755-44fd-b117-33618e29a8ca" width=185> <img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/a040dfb8-b446-4cd0-914f-d187f2b94fe6" width=185> <img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/af45ef66-4a3e-4340-bb59-7498dab3a431" width=185> <img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/4f7c6794-854d-4201-9b9b-be78a8a18718" width=185>
  • 3 different types of toast messages with a straight-forward expandability
    • Information toast

      <img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/fb3083d9-fa20-4a2e-9a0a-53995c8f73d4" width=185>

      TurtleToast.Information("Information toast");
      

      Hides after time calculated off the length of the text.

    • Confirmation toast

      <img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/93993717-4c76-4ca8-9c51-9e0180948ace" width=214>

      TurtleToast.Confirmation("Confirmation toast");
      

      Hides after the button is clicked.

    • Loading toast

      <img src="https://github.com/mooshmore/TurtleToastService/assets/89631705/e240b7b5-2f49-44b3-a1e0-207b928a0077" width=245>

      TurtleToast.Loading("Loading toast", "This can take a while", maxLoadingCount, progressEvent: ref LoadingEvent, displayMode: ProgressDisplayMode.CountAndPercentage);
      

      Shows the progress with multiple display options. Can increment automatically when attached to an event.


Usage

  1. Add the project to the solution and add a reference to the TurtleToast project. Nuget / .dll coming soon!
  2. Add the namespace of the TurleToast user control and place in it the main window of the app.
xmlns:TurtleToast="clr-namespace:TurtleToastService.Service.ToastHost;assembly=TurtleToastService.Service"
<TurtleToast:ToastHostView Theme="StoneGrey"/>

All set! The TurtleToast service should now be usable.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible. 
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.1 79 5/19/2024
1.0.0 76 5/19/2024