From c7428fab1c38d29bcc50ee263678504e34d01318 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 1 Feb 2021 22:13:46 -0500 Subject: Moved project files --- Erable/Program.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Erable/Program.cs (limited to 'Erable/Program.cs') diff --git a/Erable/Program.cs b/Erable/Program.cs new file mode 100644 index 0000000..312bbb4 --- /dev/null +++ b/Erable/Program.cs @@ -0,0 +1,23 @@ +using System; +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.ReactiveUI; + +namespace Erable +{ + class Program + { + // Initialization code. Don't use any Avalonia, third-party APIs or any + // SynchronizationContext-reliant code before AppMain is called: things aren't initialized + // yet and stuff might break. + public static void Main(string[] args) => BuildAvaloniaApp() + .StartWithClassicDesktopLifetime(args); + + // Avalonia configuration, don't remove; also used by visual designer. + public static AppBuilder BuildAvaloniaApp() + => AppBuilder.Configure() + .UsePlatformDetect() + .LogToTrace() + .UseReactiveUI(); + } +} -- cgit v1.2.3