public GitHubPublishSection(ISimpleApiClientFactory apiFactory, ITeamExplorerServiceHolder holder, IConnectionManager cm, Lazy<IVisualStudioBrowser> browser, IRepositoryHosts hosts) : base(apiFactory, holder, cm) { lazyBrowser = browser; this.hosts = hosts; Title = "Publish to GitHub"; Name = "GitHub"; Provider = "GitHub, Inc"; Description = "Powerful collaboration, code review, and code management for open source and private projects."; ShowLogin = false; ShowSignup = false; ShowGetStarted = false; IsVisible = false; IsExpanded = true; var view = new GitHubInvitationContent(); SectionContent = view; view.DataContext = this; }
public GitHubPublishSection(ISimpleApiClientFactory apiFactory, ITeamExplorerServiceHolder holder, IConnectionManager cm, Lazy<IVisualStudioBrowser> browser, IRepositoryHosts hosts) : base(apiFactory, holder, cm) { lazyBrowser = browser; this.hosts = hosts; Title = Resources.GitHubPublishSectionTitle; Name = "GitHub"; Provider = "GitHub, Inc"; Description = Resources.BlurbText; ShowLogin = false; ShowSignup = false; ShowGetStarted = false; IsVisible = false; IsExpanded = true; var view = new GitHubInvitationContent(); SectionContent = view; view.DataContext = this; }
void InitializeSectionView() { var view = new GitHubInvitationContent(); SectionContent = view; view.DataContext = this; }