diff options
Diffstat (limited to 'Program.cs')
| -rw-r--r-- | Program.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..e1d7e33 --- /dev/null +++ b/Program.cs @@ -0,0 +1,24 @@ +using Avalonia;
+using System;
+
+namespace east_auctioner;
+
+sealed 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.
+ [STAThread]
+ 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()
+#if DEBUG
+ .WithDeveloperTools()
+#endif
+ .WithInterFont()
+ .LogToTrace();
+}
|
