public void Start()
        {
            try
            {
                ComponentRegistration.RegisterComponents();
                ComponentRegistration.ReadAndRegisterConfiguration();
                AddNodeFrontAppender();
                ComponentRegistration.StartStartableComponenters();

                var config = ObjectFactory.GetInstance <IAsimovConfig>();
                Log.InfoFormat("WinAgent Started, Version={0}, ConfigVersion={1}", VersionUtil.GetAgentVersion(), config.ConfigVersion);
            }
            catch (Exception e)
            {
                Log.Error("Error while starting AsimovDeployService", e);
                throw;
            }
        }
 public void Stop()
 {
     Log.Info("WinAgent stopping...");
     ComponentRegistration.StopAll();
     Log.Info("WinAgent stopped");
 }
 public void Stop()
 {
     Log.Info("WinAgent Stopping");
     ComponentRegistration.StopAll();
 }