示例#1
0
        static void Main(string[] args)
        {
            NLog.LogManager.Configuration = new NLog.Config.XmlLoggingConfiguration("NLog.config");

            lsApi = new Server.Login.Api()
            {
                IsBackground = false
            };
            gsApi = new Server.Game.Api()
            {
                IsBackground = false,
                MoveInterval = 100
            };

            Setup(Parse(args));
        }
示例#2
0
		static void Main(string[] args)
		{
			NLog.LogManager.Configuration = new NLog.Config.XmlLoggingConfiguration("NLog.config");

			lsApi = new Server.Login.Api()
			{
				IsBackground = false
			};
			gsApi = new Server.Game.Api()
			{
				IsBackground = false,
				MoveInterval = 100
			};

			Setup(Parse(args));
		}