bgc/BGC.Client/BGC.Client.Browser/Program.cs

19 lines
510 B
C#

using Avalonia;
using Avalonia.Browser;
using Avalonia.ReactiveUI;
using BGC.Client;
using System.Runtime.Versioning;
using System.Threading.Tasks;
[assembly: SupportedOSPlatform("browser")]
internal sealed partial class Program
{
private static Task Main(string[] args) => BuildAvaloniaApp()
.WithInterFont()
.UseReactiveUI()
.StartBrowserAppAsync("out");
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>();
}