Esempio n. 1
0
        public Service()
        {
            InitializeComponent();

            this._logger = DependencyContainer.Instance.Resolve<ILogger>();
            this._worker = new Worker();
        }
Esempio n. 2
0
        public static void Main(string[] args)
        {
            WindsorInstaller.InstallAll();

            Worker worker = new Worker();
            //worker.RunDebug();

            //worker.RunStep1();
            //worker.RunStep2();
            //worker.RunStep3();

            worker.StartTimers();
            while (true)
            {
                Thread.Sleep(THREAD_SLEEP);
            }
        }