public override void Initialize(IServiceProvider serviceProvider) { base.Initialize(serviceProvider); UpdateConnection(); // watch for new repos added to the local repo list var section = GetSection(TeamExplorerConnectionsSectionId); if (section != null) { sectionTracker = new SectionStateTracker(section, RefreshRepositories); } }
public override void Initialize(IServiceProvider serviceProvider) { base.Initialize(serviceProvider); UpdateConnection(); // watch for new repos added to the local repo list var section = ServiceProvider.GetSection(TeamExplorerConnectionsSectionId); if (section != null) sectionTracker = new SectionStateTracker(section, RefreshRepositories); }