A crossplatform library for accessing avalonia services.
Cross-Platform : Leverage APIs adapted for multiple environments.
MIT Licensed: Freely use, modify, and distribute under the permissive MIT License.
Follow these steps to integrate Avae.Services into your Avalonia project.
An Avalonia project set up with .NET.
Add Nuget Avae.Services to Your Shared Project
Enable services.
using Avae.Services;
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UseServices()
.UsePlatformDetect()
.WithInterFont()
.LogToTrace();
Launcher
await Launcher.LaunchUriAsync(new Uri("https://www.example.com"));
Clipboard
var text = await Clipboard.GetTextAsync();
StorageProvider
await StorageProvider.OpenFilePickerAsync(new Avalonia.Platform.Storage.FilePickerOpenOptions())
This package builds upon the excellent work of:
AvaloniaUI
Avae.Services is licensed under the MIT License.
Contributions are welcome! Please submit issues or pull requests to the GitHub repository. Ensure your code follows the project’s coding standards.