static void Run()
 {
     Server _localServer = new Server();
     _localServer.InitServer(_serverEvent);
     Thread serverRun = new Thread(()=> _localServer.Start());
     serverRun.Start();
 }
示例#2
0
        /// <summary>
        /// The main method starting the thread for the
        /// server to run at and instantiating and starting
        /// an instance of the Server class.
        /// </summary>
        static void Main()
        {
            var server = new Server();

            server.Start();
        }
示例#3
0
        public void TestSetUp()
        {
            this.server = new Server();

            Debug.ExternalDataSources = true;
        }