AvaloniaGenerics 11.0.0-preview5
This is a prerelease version of AvaloniaGenerics.
dotnet add package AvaloniaGenerics --version 11.0.0-preview5
NuGet\Install-Package AvaloniaGenerics -Version 11.0.0-preview5
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="AvaloniaGenerics" Version="11.0.0-preview5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvaloniaGenerics --version 11.0.0-preview5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AvaloniaGenerics, 11.0.0-preview5"
#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 AvaloniaGenerics as a Cake Addin #addin nuget:?package=AvaloniaGenerics&version=11.0.0-preview5&prerelease // Install AvaloniaGenerics as a Cake Tool #tool nuget:?package=AvaloniaGenerics&version=11.0.0-preview5&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Avalonia Generics
Avalonia Generics is a helper libray that implements commonly used functions and extensions like MessageBox
and BrowserDialog
.
Usage
The library needs to be initialized with the desktop window instance to attach dialogs to, that can be done in the App.axaml.cs
file as follows.
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) {
AppView view = new();
desktop.MainWindow = view {
DataContext = new AppViewModel(),
};
// Initialize the Dialogs library here
ApplicationLoader.Attach(this);
}
<br>
Install
Install with NuGet or build from source.
NuGet
Install-Package AvaloniaGenerics
Build from source
git clone https://github.com/ArchLeaders/Avalonia.Generics.git
dotnet build Avalonia.Generics/Avalonia.Generics/
© Arch Leaders
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Avalonia (>= 11.0.0-preview5)
- Avalonia.Diagnostics (>= 11.0.0-preview5)
- Avalonia.ReactiveUI (>= 11.0.0-preview5)
- AvaloniaMenuFactory (>= 0.1.1)
- Markdown.Avalonia (>= 11.0.0-a9)
- Material.Icons.Avalonia (>= 2.0.0-preview2)
- XamlNameReferenceGenerator (>= 1.5.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 |
---|---|---|
11.0.0-preview5 | 179 | 2/12/2023 |
1.0.7-preview4 | 147 | 2/27/2023 |
1.0.6-preview4 | 140 | 2/27/2023 |
1.0.5 | 457 | 12/23/2022 |
1.0.4 | 355 | 11/22/2022 |
1.0.3 | 342 | 11/22/2022 |
1.0.2 | 332 | 11/21/2022 |
1.0.1 | 338 | 11/21/2022 |
1.0.0 | 336 | 11/21/2022 |