예제 #1
0
 public TfsGateway(IFileSystemManager fileSystemManager, IWorkspaceSelector workspaceSelector, IThreadingServices threadingServices)
 {
     _fileSystemManager   = fileSystemManager;
     _workspaceSelector   = workspaceSelector;
     this.Tfs             = TfsCollectionFactory.Create();
     _tfsCache            = new TfsCache(Tfs, ROOT_FOLDER, threadingServices);
     _historyCacheManager = new HistoryCacheManager(this.VersionControlServer);
 }
예제 #2
0
 public HistoryCache(int changeSetId,
                     IServerPath serverPath,
                     IEnumerable <Changeset> changeSets,
                     HistoryCacheManager historyCacheManager)
 {
     _changeSetId         = changeSetId;
     _serverPath          = serverPath.AsString();
     _changeSets          = changeSets;
     _historyCacheManager = historyCacheManager;
 }