Esempio n. 1
0
 public GitSccContext(IVisualGitServiceProvider context)
     : base(context)
 {
     _client = context.GetService<IGitClientPool>().GetNoUIClient();
     _statusCache = GetService<IFileStatusCache>();
 }
 public RefreshState(IAnkhServiceProvider context, IVsHierarchy hier, IVsProject project, string projectDir)
 {
     _hier = hier;
     _cache = context.GetService<IFileStatusCache>();
     _walker = context.GetService<ISccProjectWalker>();
     _project = project as IVsProject2;
     _projectDir = projectDir;
     if (projectDir != null)
         _projectDirItem = Cache[projectDir];
 }