diff options
Diffstat (limited to 'Program.cs')
| -rw-r--r-- | Program.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..ef72448 --- /dev/null +++ b/Program.cs @@ -0,0 +1,23 @@ +using System;
+using Avalonia;
+using Avalonia.Controls.ApplicationLifetimes;
+using Avalonia.ReactiveUI;
+
+namespace Alee_Audio_Player
+{
+ 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<App>()
+ .UsePlatformDetect()
+ .LogToTrace()
+ .UseReactiveUI();
+ }
+}
|
