示例#1
0
        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.");
        }
示例#2
0
        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.");
        }