Skip to content

cedric56/Avae.Services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avae.Services

A crossplatform library for accessing avalonia services.

Features

Cross-Platform : Leverage APIs adapted for multiple environments.

MIT Licensed: Freely use, modify, and distribute under the permissive MIT License.

Getting Started

Follow these steps to integrate Avae.Services into your Avalonia project.

Prerequisites

An Avalonia project set up with .NET.

Installation

Add Nuget Avae.Services to Your Shared Project

Configuration

Enable services.

 using Avae.Services;
 public static AppBuilder BuildAvaloniaApp()
        => AppBuilder.Configure<App>()
            .UseServices()
            .UsePlatformDetect()
            .WithInterFont()
            .LogToTrace();

Examples :

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())

Built With

This package builds upon the excellent work of:

AvaloniaUI

License

Avae.Services is licensed under the MIT License.

Contributing

Contributions are welcome! Please submit issues or pull requests to the GitHub repository. Ensure your code follows the project’s coding standards.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages