protected ITeamExplorerSection GetSection(Guid section) { // Return null if section hasn't been initialized yet var tep = (ITeamExplorerPage)TEServiceProvider?.GetServiceSafe(typeof(ITeamExplorerPage)); return(tep?.GetSection(section)); }
protected ITeamExplorerSection GetSection(Guid section) { var tep = (ITeamExplorerPage)TEServiceProvider.GetServiceSafe(typeof(ITeamExplorerPage)); return(tep?.GetSection(section)); }