AvaloniaGenerics 1.0.5

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package AvaloniaGenerics --version 1.0.5
NuGet\Install-Package AvaloniaGenerics -Version 1.0.5
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.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvaloniaGenerics --version 1.0.5
#r "nuget: AvaloniaGenerics, 1.0.5"
#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=1.0.5

// Install AvaloniaGenerics as a Cake Tool
#tool nuget:?package=AvaloniaGenerics&version=1.0.5

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. 
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 125 2/12/2023
1.0.7-preview4 108 2/27/2023
1.0.6-preview4 99 2/27/2023
1.0.5 368 12/23/2022
1.0.4 311 11/22/2022
1.0.3 293 11/22/2022
1.0.2 287 11/21/2022
1.0.1 296 11/21/2022
1.0.0 295 11/21/2022