コード例 #1
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();
            });
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: bertt/opensilver
        public static void Main(string[] args)
        {
            Cshtml5Initializer.Initialize();
            IWebAssemblyHost host = CreateHostBuilder(args).Build();

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