22 lines
510 B
C#
22 lines
510 B
C#
|
using Avalonia;
|
|||
|
using Avalonia.ReactiveUI;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace demo_trade
|
|||
|
{
|
|||
|
internal sealed class Program
|
|||
|
{
|
|||
|
|
|||
|
[STAThread]
|
|||
|
public static void Main(string[] args) => BuildAvaloniaApp()
|
|||
|
.StartWithClassicDesktopLifetime(args);
|
|||
|
|
|||
|
public static AppBuilder BuildAvaloniaApp()
|
|||
|
=> AppBuilder.Configure<App>()
|
|||
|
.UseReactiveUI()
|
|||
|
.UsePlatformDetect()
|
|||
|
.WithInterFont()
|
|||
|
.LogToTrace();
|
|||
|
}
|
|||
|
}
|