From de44a96a99f34442384a10bf971a7e51d2f4c6b4 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Fri, 27 Sep 2024 14:21:30 +0800 Subject: [PATCH] misc: Update documentation, change ReactiveUI extension folder name. --- README.md | 13 +++++++++++-- Ursa.sln | 10 +++++----- .../AssemblyInfo.cs | 0 .../ReactiveUrsaView.cs | 0 .../ReactiveUrsaWindow.cs | 0 .../Ursa.ReactiveUIExtension.csproj | 0 .../irihi.png | Bin 7 files changed, 16 insertions(+), 7 deletions(-) rename src/{Ursa.ReactiveUI => Ursa.ReactiveUIExtension}/AssemblyInfo.cs (100%) rename src/{Ursa.ReactiveUI => Ursa.ReactiveUIExtension}/ReactiveUrsaView.cs (100%) rename src/{Ursa.ReactiveUI => Ursa.ReactiveUIExtension}/ReactiveUrsaWindow.cs (100%) rename src/{Ursa.ReactiveUI => Ursa.ReactiveUIExtension}/Ursa.ReactiveUIExtension.csproj (100%) rename src/{Ursa.ReactiveUI => Ursa.ReactiveUIExtension}/irihi.png (100%) diff --git a/README.md b/README.md index fb83a2d..b682489 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ drawing

+[![Irihi.Ursa](https://img.shields.io/nuget/v/Irihi.Ursa.svg?color=red&style=flat-square)](https://www.nuget.org/packages/Irihi.Ursa/) +[![Irihi.Ursa](https://img.shields.io/nuget/dt/Irihi.Ursa.svg?style=flat-square)](https://www.nuget.org/packages/Irihi.Ursa/) + Ursa is a UI library for building cross-platform UIs with Avalonia UI. ![Demo](./assets/demo.png) @@ -59,10 +62,16 @@ You can now use Ursa controls in your Avalonia Application. ![Demo](./assets/demo.jpg) -## ReactiveUI -If you're familiar with and often use Avalonia.ReactiveUI for development, you can use the Irihi.Ursa.ReactiveUIExtension package. This package implements the ReactiveUI versions of UrsaWindow and UrsaView. +## Extensions + +### Prism Extension +If you need to integrate Ursa with Prism.Avalonia, you can use the Irihi.Ursa.PrismExtension package. This package provide Dialog related services to utilize Ursa Dialogs with Prism flavor. + +### ReactiveUI Extension +If need to integrate Ursa with Avalonia.ReactiveUI, you can use the Irihi.Ursa.ReactiveUIExtension package. This package implements the ReactiveUI versions of UrsaWindow and UrsaView. You just need to replace ReactiveWindow or ReactiveUserControl with ReactiveUrsaWindow or ReactiveUrsaView. + ```xaml