2019-11-13 19:40:30 +00:00
|
|
|
|
using Avalonia;
|
2019-11-13 19:26:04 +00:00
|
|
|
|
using Avalonia.Logging.Serilog;
|
|
|
|
|
|
|
|
|
|
namespace BFR
|
|
|
|
|
{
|
|
|
|
|
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.
|
2019-11-13 19:40:30 +00:00
|
|
|
|
public static void Main(string[] args) => BuildAvaloniaApp().StartWithClassicDesktopLifetime(args);
|
2019-11-13 19:26:04 +00:00
|
|
|
|
|
|
|
|
|
// Avalonia configuration, don't remove; also used by visual designer.
|
|
|
|
|
public static AppBuilder BuildAvaloniaApp()
|
|
|
|
|
=> AppBuilder.Configure<App>()
|
|
|
|
|
.UsePlatformDetect()
|
|
|
|
|
.LogToDebug();
|
|
|
|
|
}
|
|
|
|
|
}
|