Darp.Utils.Dialog
1.5.0
See the version list below for details.
dotnet add package Darp.Utils.Dialog --version 1.5.0
NuGet\Install-Package Darp.Utils.Dialog -Version 1.5.0
<PackageReference Include="Darp.Utils.Dialog" Version="1.5.0" />
<PackageVersion Include="Darp.Utils.Dialog" Version="1.5.0" />
<PackageReference Include="Darp.Utils.Dialog" />
paket add Darp.Utils.Dialog --version 1.5.0
#r "nuget: Darp.Utils.Dialog, 1.5.0"
#:package Darp.Utils.Dialog@1.5.0
#addin nuget:?package=Darp.Utils.Dialog&version=1.5.0
#tool nuget:?package=Darp.Utils.Dialog&version=1.5.0
Darp.Utils
This repository bundles all open source c# helper modules of 'rosslight GmbH'. To extend, add a new project and test project.
Darp.Utils.Assets
A collection of simple interfaces for app assets targeting desktop apps.
Currently implemented:
AppDataAssetsService: Read or write to theApplicationData. The relativePath might be e.g. the app name.
Example:
ServiceProvider provider = new ServiceCollection()
.AddAppDataAssetsService("RelativePath")
.BuildServiceProvider();
IAppDataAssetsService service = provider.GetRequiredService<IAppDataAssetsService>();
await service.SerializeJsonAsync("test.json", new { Prop1 = "value" });
Darp.Utils.Configuration
A writable configuration service. Can be registered using DI and injected into target services. Usage might include reading, writing and listening to changes via the INotifyPropertyChanged interface.
Example:
ServiceProvider provider = new ServiceCollection()
.AddAppDataAssetsService("RelativePath")
.AddConfigurationFile<TestConfig, IAppDataAssetsService>("config.json")
.BuildServiceProvider();
IConfigurationService<TestConfig> service = provider.GetRequiredService<IConfigurationService<TestConfig>>();
TestConfig config = await service.LoadConfigurationAsync();
await service.WriteConfigurationAsync(config with { Setting = "NewValue" });
Darp.Utils.Dialog
A lightweight dialog service which allows for opening dialogs from the ViewModel.
Example:
ServiceProvider provider = new ServiceCollection()
.AddSingleton<IDialogService, AvaloniaDialogService>()
.BuildServiceProvider();
IDialogService dialogService = provider.GetRequiredService<IDialogService>();
await _dialogService.CreateMessageBoxDialog("Title", "Message").ShowAsync();
// Assumes you have registered a view for 'SomeViewModel' in a ViewLocator
// Works with any kind of content
var viewModel = new SomeViewModel();
await _dialogService.CreateContentDialog("Title", viewModel)
.SetDefaultButton(ContentDialogButton.Primary)
.SetCloseButton("Close")
.SetPrimaryButton("Ok", onClick: model => model.IsModelValid)
.ShowAsync();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- FluentAvaloniaUI (>= 2.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Darp.Utils.Dialog:
| Package | Downloads |
|---|---|
|
Darp.Utils.Dialog.FluentAvalonia
Implementation of Darp.Utils.Dialog compatible with Avalonia |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.19.2 | 252 | 10/24/2025 |
| 1.19.1 | 314 | 7/28/2025 |
| 1.19.0 | 169 | 7/27/2025 |
| 1.18.2 | 211 | 7/10/2025 |
| 1.18.1 | 248 | 7/7/2025 |
| 1.18.0 | 207 | 6/29/2025 |
| 1.17.4 | 147 | 6/28/2025 |
| 1.17.3 | 357 | 6/13/2025 |
| 1.17.2 | 324 | 6/12/2025 |
| 1.17.1 | 332 | 6/12/2025 |
| 1.17.0 | 250 | 6/8/2025 |
| 1.16.1 | 192 | 6/3/2025 |
| 1.16.0 | 148 | 5/24/2025 |
| 1.15.0 | 126 | 5/24/2025 |
| 1.14.3 | 270 | 5/22/2025 |
| 1.14.2 | 238 | 5/22/2025 |
| 1.14.1 | 217 | 5/20/2025 |
| 1.14.0 | 214 | 5/20/2025 |
| 1.13.2 | 206 | 5/19/2025 |
| 1.13.1 | 209 | 5/19/2025 |
| 1.13.0 | 356 | 3/5/2025 |
| 1.12.3 | 372 | 12/17/2024 |
| 1.12.2 | 191 | 12/12/2024 |
| 1.12.1 | 166 | 12/11/2024 |
| 1.12.0 | 163 | 12/11/2024 |
| 1.11.4 | 164 | 12/10/2024 |
| 1.11.3 | 143 | 12/10/2024 |
| 1.11.2 | 137 | 12/10/2024 |
| 1.11.1 | 151 | 12/9/2024 |
| 1.11.0 | 165 | 12/9/2024 |
| 1.10.0 | 248 | 10/21/2024 |
| 1.9.2 | 229 | 10/19/2024 |
| 1.9.1 | 199 | 10/19/2024 |
| 1.9.0 | 197 | 9/30/2024 |
| 1.8.0 | 192 | 9/26/2024 |
| 1.7.4 | 175 | 9/23/2024 |
| 1.7.3 | 164 | 9/22/2024 |
| 1.7.2 | 164 | 9/22/2024 |
| 1.7.1 | 176 | 9/22/2024 |
| 1.7.0 | 158 | 9/22/2024 |
| 1.6.3 | 279 | 9/10/2024 |
| 1.6.2 | 211 | 9/9/2024 |
| 1.6.1 | 178 | 9/9/2024 |
| 1.6.0 | 173 | 9/9/2024 |
| 1.5.1 | 179 | 9/7/2024 |
| 1.5.0 | 199 | 9/5/2024 |