Example #1
0
 /// <summary>
 /// The main.
 /// </summary>
 /// <param name="args">
 /// The args.
 /// </param>
 static void Main(string[] args)
 {
     if (args.Count() != 1)
     {
         IServerService server = new ServerService();
         server.Start("8001");
     }
     else
     {
         IServerService server = new ServerService();
         server.Start(args[0]);
     }
 }
Example #2
0
        /// <summary>
        /// The main.
        /// </summary>
        /// <param name="args">
        /// The args.
        /// </param>
        static void Main(string[] args)
        {
            if (args.Count() != 1)
            {
                //Console.WriteLine("Invalid Arguments");
                //Console.ReadLine();

                IServerService server = new ServerService();
                server.Start("8001");
            }
            else
            {
                IServerService server = new ServerService();
                server.Start(args[0]);
            }
        }