public GitSubmodulesPage([Import(typeof (SVsServiceProvider))] IServiceProvider serviceProvider) { Title = "Git Submodules"; gitService = (IGitExt) serviceProvider.GetService(typeof (IGitExt)); teamExplorer = (ITeamExplorer) serviceProvider.GetService(typeof (ITeamExplorer)); gitService.PropertyChanged += OnGitServicePropertyChanged; var outWindow = Package.GetGlobalService(typeof (SVsOutputWindow)) as IVsOutputWindow; var customGuid = new Guid("08A48010-2A4A-4DB1-AA58-36674F667904"); outWindow.CreatePane(ref customGuid, "Git Submodules", 1, 1); outWindow.GetPane(ref customGuid, out outputWindow); ui = new GitSubmodulePageUI(); PageContent = ui; }
public GitSubmodulesPage([Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider) { Title = "Git Submodules"; gitService = (IGitExt)serviceProvider.GetService(typeof(IGitExt)); teamExplorer = (ITeamExplorer)serviceProvider.GetService(typeof(ITeamExplorer)); gitService.PropertyChanged += OnGitServicePropertyChanged; var outWindow = Package.GetGlobalService(typeof(SVsOutputWindow)) as IVsOutputWindow; var customGuid = new Guid("08A48010-2A4A-4DB1-AA58-36674F667904"); outWindow.CreatePane(ref customGuid, "Git Submodules", 1, 1); outWindow.GetPane(ref customGuid, out outputWindow); ui = new GitSubmodulePageUI(); PageContent = ui; }