RxUI.MauiToolkit 1.0.40

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

// Install RxUI.MauiToolkit as a Cake Tool
#tool nuget:?package=RxUI.MauiToolkit&version=1.0.40                

RxUI.MauiToolkit

Toolkit genérico usando ReactiveUI con clases base, helpers, servicios y controles típicos en proyectos.

Build Status

Inicialización

Para inicializar el paquete usamos .InitRxToolkit(), que encontraremos en el namespace RxUI.MauiToolkit.Configuration, como método de extensión de MauiAppBuilder cuando creamos nuestra MauiApp:

public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder()
                         .UseMauiApp<App>()
                         .InitRxToolkit();
    ...

    return builder.Build();
}

Esto añadirá los target Debug y Console al servicio de Log, así como la inicialización del resto de servicios del Nuget.

Log

Para que nos lleguen las analíticas a AppCenter, debemos indicarles las keys de la app en AppCenter. Este proceso se hace comunmente en el OnStart() de App.xaml.cs. Para ello, resolvemos ILogService en el constructor:

public partial class App : Application
{
	private readonly ILogService logService;

	public App(ILogService logService)
	{
		this.logService = logService;
        ...
    }

Y sobreescribimos el método OnStart() indicando nuestras claves:

protected override void OnStart()
{
    base.OnStart();
    logService.SetAppCenterId("[iosId]", "[androidId]", "[uwpId]", "[macosId]"); ;
}

Como ya se ha comentado, el servicio de log ya configura los target Debug y Console, pero puede añadir otros mediante los NuGets de Microsoft.Extensions.Logging

LoadingService

// TODO

Bases

// TODO

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-android31.0 is compatible.  net6.0-ios was computed.  net6.0-ios15.4 is compatible.  net6.0-maccatalyst was computed.  net6.0-maccatalyst15.4 is compatible.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows10.0.19041 is compatible.  net7.0 was computed.  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.