RxUI.MauiToolkit
1.0.41
See the version list below for details.
dotnet add package RxUI.MauiToolkit --version 1.0.41
NuGet\Install-Package RxUI.MauiToolkit -Version 1.0.41
<PackageReference Include="RxUI.MauiToolkit" Version="1.0.41" />
paket add RxUI.MauiToolkit --version 1.0.41
#r "nuget: RxUI.MauiToolkit, 1.0.41"
// Install RxUI.MauiToolkit as a Cake Addin #addin nuget:?package=RxUI.MauiToolkit&version=1.0.41 // Install RxUI.MauiToolkit as a Cake Tool #tool nuget:?package=RxUI.MauiToolkit&version=1.0.41
RxUI.MauiToolkit
Toolkit genérico usando ReactiveUI con clases base, helpers, servicios y controles típicos en proyectos.
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 | Versions 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. |
-
net6.0
- Microsoft.AppCenter.Analytics (>= 4.5.3)
- Microsoft.AppCenter.Crashes (>= 4.5.3)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Microsoft.Extensions.Logging.Debug (>= 6.0.0)
- ReactiveUI.Maui (>= 18.3.1)
-
net6.0-android31.0
- Microsoft.AppCenter.Analytics (>= 4.5.3)
- Microsoft.AppCenter.Crashes (>= 4.5.3)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Microsoft.Extensions.Logging.Debug (>= 6.0.0)
- ReactiveUI.Maui (>= 18.3.1)
-
net6.0-ios15.4
- Microsoft.AppCenter.Analytics (>= 4.5.3)
- Microsoft.AppCenter.Crashes (>= 4.5.3)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Microsoft.Extensions.Logging.Debug (>= 6.0.0)
- ReactiveUI.Maui (>= 18.3.1)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-maccatalyst15.4
- Microsoft.AppCenter.Analytics (>= 4.5.3)
- Microsoft.AppCenter.Crashes (>= 4.5.3)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Microsoft.Extensions.Logging.Debug (>= 6.0.0)
- ReactiveUI.Maui (>= 18.3.1)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-windows10.0.19041
- Microsoft.AppCenter.Analytics (>= 4.5.3)
- Microsoft.AppCenter.Crashes (>= 4.5.3)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Microsoft.Extensions.Logging.Debug (>= 6.0.0)
- ReactiveUI.Maui (>= 18.3.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.