Add Avalonia example project
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using Avalonia;
|
||||
using DesktopNotifications.Avalonia;
|
||||
|
||||
namespace Example.Avalonia
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
BuildAvaloniaApp()
|
||||
.StartWithClassicDesktopLifetime(args);
|
||||
}
|
||||
|
||||
public static AppBuilder BuildAvaloniaApp()
|
||||
{
|
||||
return AppBuilder.Configure<App>()
|
||||
.UsePlatformDetect()
|
||||
.SetupDesktopNotifications()
|
||||
.LogToTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user