Beispiel #1
0
        static void Main(string[] args)
        {
            try
            {
                log4net.Config.XmlConfigurator.Configure();
                log.Info("vbotserver started");

                Controller app = new Controller();
                if (app.Init())
                {
                    app.MainLoop();
                }
                else
                {
                    log.Info("App object failed to initialize.");
                }
            }
            catch (Exception ex)
            {
                log.Fatal("Exception", ex);
            }
        }
 public CommandClass(Controller app)
 {
     _controller = app;
 }