Program.cs 729 B

12345678910111213141516171819202122
  1. using Avalonia;
  2. using System;
  3. namespace aval_fp
  4. {
  5. internal class Program
  6. {
  7. // Initialization code. Don't use any Avalonia, third-party APIs or any
  8. // SynchronizationContext-reliant code before AppMain is called: things aren't initialized
  9. // yet and stuff might break.
  10. [STAThread]
  11. public static void Main(string[] args) => BuildAvaloniaApp()
  12. .StartWithClassicDesktopLifetime(args);
  13. // Avalonia configuration, don't remove; also used by visual designer.
  14. public static AppBuilder BuildAvaloniaApp()
  15. => AppBuilder.Configure<App>()
  16. .UsePlatformDetect()
  17. .WithInterFont()
  18. .LogToTrace();
  19. }
  20. }