public Service() { InitializeComponent(); this._logger = DependencyContainer.Instance.Resolve<ILogger>(); this._worker = new Worker(); }
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); } }