public static AgentDeploymentWatcher GetInstance(
     IAgentInfoDAL agentInfoDal)
 {
     if (AgentDeploymentWatcher.instance != null)
     {
         return(AgentDeploymentWatcher.instance);
     }
     lock (AgentDeploymentWatcher.syncLockInstance)
     {
         if (AgentDeploymentWatcher.instance == null)
         {
             AgentDeploymentWatcher.instance = new AgentDeploymentWatcher(agentInfoDal);
         }
     }
     return(AgentDeploymentWatcher.instance);
 }
예제 #2
0
 // Token: 0x06000919 RID: 2329 RVA: 0x00041B2A File Offset: 0x0003FD2A
 public AgentManager(IAgentInfoDAL agentInfoDal)
 {
     this._agentInfoDal = agentInfoDal;
 }
 private AgentDeploymentWatcher(IAgentInfoDAL agentInfoDal)
 {
     this.AgentInfoDal           = agentInfoDal;
     this.Items                  = new Dictionary <int, AgentDeploymentWatcher.CacheItem>();
     this.NotificationSubscriber = new AgentNotificationSubscriber(new Action <int>(this.AgentNotification));
 }
예제 #4
0
 internal AgentDeployer(IAgentInfoDAL agentInfoDal)
 {
     this.agentInfoDal = agentInfoDal;
 }