CdCSharp.Pangea.CodeGeneration
1.0.6
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CdCSharp.Pangea.CodeGeneration --version 1.0.6
NuGet\Install-Package CdCSharp.Pangea.CodeGeneration -Version 1.0.6
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="CdCSharp.Pangea.CodeGeneration" Version="1.0.6"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CdCSharp.Pangea.CodeGeneration" Version="1.0.6" />
<PackageReference Include="CdCSharp.Pangea.CodeGeneration"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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 CdCSharp.Pangea.CodeGeneration --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CdCSharp.Pangea.CodeGeneration, 1.0.6"
#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.
#:package CdCSharp.Pangea.CodeGeneration@1.0.6
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CdCSharp.Pangea.CodeGeneration&version=1.0.6
#tool nuget:?package=CdCSharp.Pangea.CodeGeneration&version=1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Pangea Toolkit for Avalonia
A modern toolkit for Avalonia UI that simplifies MVVM development through code generation and advanced functional analysis.
Installation
dotnet add package CdCSharp.Pangea
Quick Start
1. Setup your Application
// Program.cs
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.UsePangea();
// App.axaml.cs
public partial class App : PangeaApplication
{
public override void Initialize() => AvaloniaXamlLoader.Load(this);
}
2. Create a ViewModel
public partial class MainWindowViewModel : ViewModelBase
{
[Binding]
private string _searchText = "";
[Binding(ReadOnly = true)]
private ObservableCollection<Item> _items = new();
public RelayCommand SearchCommand => CreateCommand(
ExecuteSearch,
() => !string.IsNullOrEmpty(SearchText)
);
partial void OnSearchTextChanged()
{
// Called automatically when SearchText changes
FilterItems();
}
private async Task ExecuteSearch()
{
// Your search logic
}
}
Features
- Automatic Property Generation: Use
[Binding]
attribute on fields - Smart Notifications: Automatic
INotifyPropertyChanged
implementation - Dependency Analysis: Automatically notifies dependent properties and commands
- Window Management: Built-in window lifecycle management
- Type-Safe Navigation: Parameter-based navigation system
Requirements
- .NET 9.0+
- Avalonia UI 11.3+
License
MIT License - see LICENSE file for details.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.