public TFSCacheManager(TFSServerManager manager)
 {
     _manager = manager;
     _projectListCache = new List<CCTrayProject>();
     _projectStatusCache = new Dictionary<string, ProjectStatus>();
     _projectStatusLastUpdate = new Dictionary<string, DateTime>();
     _trackedBuilds = new List<IBuildDetail>();
     _lastQueuedBuildsCheck = new Dictionary<string, DateTime>();
 }
 private void EnsureServerManager()
 {
     if (_serverManager == null)
     {
         lock (_serverManagerLock)
         {
             if (_serverManager == null)
             {
                 _serverManager = new TFSServerManager(Configuration);
             }
         }
     }
 }
 public TFSProjectManager(string projectName, ICruiseServerManager serverManager)
 {
     _projectName = projectName;
     _serverManager = serverManager as TFSServerManager;
 }
 public CCTrayProject[] GetProjectList(BuildServer server)
 {
     TFSServerManager mgr = new TFSServerManager(server);
     return mgr.GetProjectList();
 }