Exemplo n.º 1
0
 private void RegisterApplicationComponents()
 {
     try
     {
         _componentsManager = new ComponentsManager(_configurationManager, null, null);
         _componentsManager.Run();
         RegisterComponents();
     }
     catch (Exception ex)
     {
         _logger.Info("NVRServiceAct RegisterApplicationComponents() Exception:" + ex.Message);
         //LogManager.GetCurrentClassLogger().ErrorException(ex.Message, ex);
     }
 }
Exemplo n.º 2
0
 private void RegisterApplicationComponents()
 {
     try
     {
         _configurationManager = new ConfigurationManagerStub();
         _componentsManager    = new ComponentsManager(_configurationManager, null, null);
         _componentsManager.Run();
         RegisterComponents();
     }
     catch (Exception ex)
     {
         _logger.Info("NvrService RegisterApplicationComponents() Exception:" + ex.Message);
         string Message = "NvrService-RegisterApplicationComponents -- Exception = " + ex.Message;
         //InsertBrokerOperationLog.AddProcessLog(Message);
         InsertIntegrationLog.AddProcessLogIntegration(Message);//jatin
     }
 }