AvaloniaGenerics 1.0.7-preview4

This is a prerelease version of AvaloniaGenerics.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package AvaloniaGenerics --version 1.0.7-preview4
                    
NuGet\Install-Package AvaloniaGenerics -Version 1.0.7-preview4
                    
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="1.0.7-preview4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AvaloniaGenerics" Version="1.0.7-preview4" />
                    
Directory.Packages.props
<PackageReference Include="AvaloniaGenerics" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AvaloniaGenerics --version 1.0.7-preview4
                    
#r "nuget: AvaloniaGenerics, 1.0.7-preview4"
                    
#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.
#addin nuget:?package=AvaloniaGenerics&version=1.0.7-preview4&prerelease
                    
Install AvaloniaGenerics as a Cake Addin
#tool nuget:?package=AvaloniaGenerics&version=1.0.7-preview4&prerelease
                    
Install AvaloniaGenerics as a Cake Tool

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 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.  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. 
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
11.0.0-preview5 193 2/12/2023
1.0.7-preview4 157 2/27/2023
1.0.6-preview4 151 2/27/2023
1.0.5 490 12/23/2022
1.0.4 373 11/22/2022
1.0.3 359 11/22/2022
1.0.2 350 11/21/2022
1.0.1 356 11/21/2022
1.0.0 353 11/21/2022