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

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