protected override void OnStart(string[] args) { _logger.Info("Starting DocViewerService"); _listener = ServiceActivator.Get<MessageListener>(); _listener.Start(); _jobEngine = ServiceActivator.Get<JobEngine>(); _jobEngine.Start(); _logger.Info("DocViewerService is started."); }
protected override void OnStart(string[] args) { _logger.Info("Starting DocViewerService"); _listener = ServiceActivator.Get <MessageListener>(); _listener.Start(); _jobEngine = ServiceActivator.Get <JobEngine>(); _jobEngine.Start(); _logger.Info("DocViewerService is started."); }