Exemple #1
0
 public static void RunApplication()
 {
     Application.RunApplication(() =>
     {
         var app = new OpenSilverApplication1.App();
     });
 }
Exemple #2
0
        public static void Main(string[] args)
        {
            Cshtml5Initializer.Initialize();
            IWebAssemblyHost host = CreateHostBuilder(args).Build();

            host.Run();
            host.Dispose();
            Application.RunApplication(() =>
            {
                var app = new OpenSilverApplication1.App();
            });
        }