示例#1
0
        static void Main(string[] args)
        {
            App = new AppHost();
            App.Init().Start("http://*:3337/");

            NSApplication.Init();
            NSApplication.Main(args);
        }
示例#2
0
        static void Main(string[] args)
        {
            try
            {
                App = new AppHost();
                App.Init().Start("http://*:3337/");
            }
            catch
            {
                "Use existing AppHost found on {0}".Print(HostUrl);
            }

            NSApplication.Init();
            NSApplication.Main(args);
        }