MessageDialogService.Uno.WinUI 0.5.0-dev.54

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

// Install MessageDialogService.Uno.WinUI as a Cake Tool
#tool nuget:?package=MessageDialogService.Uno.WinUI&version=0.5.0-dev.54&prerelease

Open Source Project Template

This repository contains a template to seed a repository for an Open Source project.

How to use this template

  1. Check out this repository
  2. Delete the .git folder
  3. Git init this repository and start working on your project!
  4. Prior to submitting your request for publication, make sure to review the Open Source guidelines for publications.

Features (to keep as-is, configure or remove)

  • Mergify is configured. You can edit or remove .mergify.yml.
  • allcontributors is configured. It helps adding contributors to the README.
  • dependabot is configured. This bot will open pull requests automatically to update nuget dependencies. This one could be annoying, feel free to remove the .dependabot folder.

The following is the template for the final README.md file:


Message Dialog Service

Enable customization into the MessageDialog rendering flow.

License

Getting Started

Using a services provider or injecting the MessageDialogService into your VM, here's a classic implementation that gives resources for your text content.

await _messageDialogService.ShowMessage(ct, mb => mb
      .TitleResource("Title")
      .ContentResource("Body")
      .OkCommand()
   );

WinUI

When using the WinUI version of the package, a different type of Dispatcher needs to be given to the constructor. Instead of a CoreDispatcher, the WinUI package will expecting a DispatchQueue.

var dispatch = DispatcherQueue.GetForCurrentThread();

_messageDialogService = new MessageDialogService.MessageDialogService(dispatch,
   new MessageDialogBuilderDelegate(
      key => "key",
      _windowHandle
   )
);
Windows App SDK implementation

For the Windows implementation, the service will need the receive a WindowHandle of the current window with GetWindowHandle.

#if NET6_0_OR_GREATER && WINDOWS
	_currentWindow = new Window();
	_windowHandle = WinRT.Interop.WindowNative.GetWindowHandle(_currentWindow);
#endif

Features

{More details/listing of features of the project}

Changelog

Please consult the CHANGELOG for more information about version history.

License

This project is licensed under the Apache 2.0 license - see the LICENSE file for details.

Contributing

Please read CONTRIBUTING.md for details on the process for contributing to this project.

Be mindful of our Code of Conduct.

Contributors

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-android31.0 is compatible.  net6.0-ios was computed.  net6.0-ios15.4 is compatible.  net6.0-maccatalyst was computed.  net6.0-maccatalyst15.4 is compatible.  net6.0-macos was computed.  net6.0-macos12.3 is compatible.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows10.0.18362 is compatible.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
2.0.0 3,495 1/2/2024
2.0.0-feature.Uno5Update.10 143 12/6/2023
2.0.0-feature.Uno5Update.8 705 12/5/2023
2.0.0-feature.Uno5Update.6 65 11/28/2023
1.0.3-feature.Uno5Update.2 64 11/3/2023
1.0.2 5,846 9/11/2023
1.0.1 463 9/11/2023
1.0.0 445 9/11/2023
0.6.0-dev.58 20,751 10/26/2022
0.5.0-feature.dotnet6.45 103 9/6/2022
0.5.0-feature.dotnet6.35 96 9/6/2022
0.5.0-dev.56 95 10/18/2022
0.5.0-dev.54 98 10/11/2022
0.5.0-dev.52 145 9/28/2022
0.5.0-dev.48 139 9/22/2022
0.5.0-dev.46 112 9/7/2022
0.5.0-dev.35 118 8/23/2022