MessageDialogService.Uno
0.6.0-dev.58
See the version list below for details.
dotnet add package MessageDialogService.Uno --version 0.6.0-dev.58
NuGet\Install-Package MessageDialogService.Uno -Version 0.6.0-dev.58
<PackageReference Include="MessageDialogService.Uno" Version="0.6.0-dev.58" />
paket add MessageDialogService.Uno --version 0.6.0-dev.58
#r "nuget: MessageDialogService.Uno, 0.6.0-dev.58"
// Install MessageDialogService.Uno as a Cake Addin #addin nuget:?package=MessageDialogService.Uno&version=0.6.0-dev.58&prerelease // Install MessageDialogService.Uno as a Cake Tool #tool nuget:?package=MessageDialogService.Uno&version=0.6.0-dev.58&prerelease
Open Source Project Template
This repository contains a template to seed a repository for an Open Source project.
How to use this template
- Check out this repository
- Delete the
.git
folder - Git init this repository and start working on your project!
- 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.
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 | Versions 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-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 | 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. monoandroid11.0 is compatible. monoandroid12.0 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap10.0.19041 is compatible. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- MessageDialogService (>= 0.6.0-dev.58)
- Uno.UI (>= 4.0.7)
-
MonoAndroid 11.0
- MessageDialogService (>= 0.6.0-dev.58)
- Uno.UI (>= 4.0.7)
-
MonoAndroid 12.0
- MessageDialogService (>= 0.6.0-dev.58)
- Uno.UI (>= 4.0.7)
-
UAP 10.0.19041
- MessageDialogService (>= 0.6.0-dev.58)
- Uno.UI (>= 4.0.7)
-
Xamarin.iOS 1.0
- MessageDialogService (>= 0.6.0-dev.58)
- Uno.UI (>= 4.0.7)
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.3-feature.Uno5Update.2 | 174 | 11/3/2023 |
1.0.2 | 777 | 9/11/2023 |
1.0.1 | 144 | 9/11/2023 |
1.0.0 | 143 | 9/11/2023 |
0.6.0-dev.58 | 2,164 | 10/26/2022 |
0.5.0-feature.update-dotnet... | 130 | 8/31/2022 |
0.5.0-feature.update-dotnet... | 149 | 8/10/2022 |
0.5.0-feature.update-dotnet... | 131 | 8/10/2022 |
0.5.0-feature.dotnet6.45 | 118 | 9/6/2022 |
0.5.0-feature.dotnet6.35 | 115 | 9/6/2022 |
0.5.0-dev.56 | 108 | 10/18/2022 |
0.5.0-dev.54 | 1,549 | 10/11/2022 |
0.5.0-dev.52 | 531 | 9/28/2022 |
0.5.0-dev.48 | 163 | 9/22/2022 |
0.5.0-dev.46 | 141 | 9/7/2022 |
0.5.0-dev.35 | 153 | 8/23/2022 |
0.5.0-dev.33 | 134 | 8/18/2022 |
0.5.0-dev.29 | 146 | 8/12/2022 |
0.5.0-dev.14 | 13,139 | 5/2/2022 |
0.5.0-dev.13 | 53,456 | 3/30/2022 |
0.4.0-feature.uno-ui-4.10 | 167 | 3/15/2022 |
0.4.0-feature.uno-ui-4.9 | 140 | 3/15/2022 |
0.4.0-dev.10 | 409 | 3/15/2022 |
0.3.0-feature.uno-ui-4.9 | 5,179 | 12/21/2021 |
0.3.0-dev.8 | 19,959 | 3/30/2021 |
0.3.0-dev.5 | 19,061 | 3/17/2021 |
0.2.0-dev.3 | 24,645 | 9/10/2020 |
0.2.0-dev.2 | 247 | 9/9/2020 |