Beispiel #1
0
        public static void Run()
        {
            CommandColor.SetBackWhite();
            CommandColor.SetBlack();
            Console.WriteLine("...启动服务...");
            CommandColor.SetBackBlack();
            CommandColor.SetWhite();
            LoadAllServer.LoadAllService();
            CacheAllUser.caching();
            AssManage assManage = new AssManage();

            assManage.LoadAllAss();
            WCFServiceManage wCFServiceManage = new WCFServiceManage(assManage.AssTable);

            wCFServiceManage.StartAllService();
            CommandColor.SetBackWhite();
            CommandColor.SetBlack();
            Console.WriteLine("...启动完成...");
            CommandColor.SetBackBlack();
            CommandColor.SetWhite();
            CommandHelp.showhelp();
            new HandleCommand(wCFServiceManage, assManage.AssTable).LoopCommand();
        }
 public HandleCommand(WCFServiceManage wcfmanage, Hashtable listass)
 {
     this.wcfmanage = wcfmanage;
     this.listass   = listass;
 }