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

            NSApplication.Init();
            NSApplication.Main(args);
        }
Exemple #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);
        }