Beispiel #1
0
        static void Main(string[] args)
        {
            Server server = new Server();

            Thread mainThread = new Thread(new ThreadStart(server.StartThreads));
            mainThread.Start();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Server server = new Server();
            log4net.Config.XmlConfigurator.Configure();
            ILog log = LogManager.GetLogger(typeof(Program));
            log.Info("InsightMainServerConsole started. Logging started. Starting the Server...\n");

            Thread mainThread = new Thread(new ThreadStart(server.StartThreads));
            mainThread.Start();
        }