コード例 #1
0
ファイル: Program.cs プロジェクト: schleumer/Monobot
        public static void Main(string[] args)
        {
            LogManager.LogFactory = new ConsoleLogFactory();

            var appHost = new Monobot.Service();
            appHost.Init();
            appHost.Start("http://*:8080/");

            "\n\nListening on http://*:8080/..".Print();
            "Type Ctrl+C to quit..".Print();
            Thread.Sleep(Timeout.Infinite);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: schleumer/Monobot
        public static void Main(string[] args)
        {
            LogManager.LogFactory = new ConsoleLogFactory();

            var appHost = new Monobot.Service();

            appHost.Init();
            appHost.Start("http://*:8080/");

            "\n\nListening on http://*:8080/..".Print();
            "Type Ctrl+C to quit..".Print();
            Thread.Sleep(Timeout.Infinite);
        }