Darp.Utils.Dialog.FluentAvalonia
1.11.1
See the version list below for details.
dotnet add package Darp.Utils.Dialog.FluentAvalonia --version 1.11.1
NuGet\Install-Package Darp.Utils.Dialog.FluentAvalonia -Version 1.11.1
<PackageReference Include="Darp.Utils.Dialog.FluentAvalonia" Version="1.11.1" />
<PackageVersion Include="Darp.Utils.Dialog.FluentAvalonia" Version="1.11.1" />
<PackageReference Include="Darp.Utils.Dialog.FluentAvalonia" />
paket add Darp.Utils.Dialog.FluentAvalonia --version 1.11.1
#r "nuget: Darp.Utils.Dialog.FluentAvalonia, 1.11.1"
#:package Darp.Utils.Dialog.FluentAvalonia@1.11.1
#addin nuget:?package=Darp.Utils.Dialog.FluentAvalonia&version=1.11.1
#tool nuget:?package=Darp.Utils.Dialog.FluentAvalonia&version=1.11.1
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:
IFolderAssetsService: Read or write to a specific folderIAppDataAssetsService: Read or write to theApplicationData. The relativePath might be e.g. the app name.IProgramDataAssetsService: Read or write to theProgramData. The relativePath might be e.g. the app name.IBaseDirectoryAssetsService: Read from the base directory of the App's executableIEmbeddedResourceAssetsService: Read files marked asEmbeddedResourceof a specific Assembly
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.
| Implementation | Description |
|---|---|
| Implementation based on FluentAvalonia |
Example:
ServiceProvider provider = new ServiceCollection()
.AddSingleton<IDialogService, AvaloniaDialogService>()
.BuildServiceProvider();
IDialogService dialogService = provider.GetRequiredService<IDialogService>();
// Specify the Type of the dataContext of the window the dialog is supposed to be shown on
// .WithDialogRoot<MainWindowViewModel>()
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();
Darp.Utils.ResxSourceGenerator
A source generator for generating strongly typed singleton resource classes from .resx files. Additional documentation here.
| 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
- Darp.Utils.Dialog (>= 1.11.1)
- FluentAvaloniaUI (>= 2.1.0)
- System.Reactive.Linq (>= 6.0.1)
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-preview.1 | 114 | 5/5/2026 |
| 2.0.0-preview | 96 | 4/29/2026 |
| 1.20.0 | 134 | 4/16/2026 |
| 1.19.2 | 797 | 10/24/2025 |
| 1.19.1 | 384 | 7/28/2025 |
| 1.19.0 | 189 | 7/27/2025 |
| 1.18.2 | 223 | 7/10/2025 |
| 1.18.1 | 265 | 7/7/2025 |
| 1.18.0 | 220 | 6/29/2025 |
| 1.17.4 | 174 | 6/28/2025 |
| 1.17.3 | 379 | 6/13/2025 |
| 1.17.2 | 354 | 6/12/2025 |
| 1.17.1 | 362 | 6/12/2025 |
| 1.17.0 | 271 | 6/8/2025 |
| 1.16.1 | 193 | 6/3/2025 |
| 1.16.0 | 172 | 5/24/2025 |
| 1.15.0 | 148 | 5/24/2025 |
| 1.14.3 | 295 | 5/22/2025 |
| 1.14.2 | 261 | 5/22/2025 |
| 1.11.1 | 160 | 12/9/2024 |