C# Class GitHub.Settings.UIState

Stores persistent UI state in IPackageSettings.
显示文件 Open project: github/VisualStudio Class Usage Examples

Public Methods

Method Description
GetOrCreateConnectSection ( string sectionName ) : GitHubConnectSectionState

Gets or creates the UI state for a named IGitHubConnectSection.

GetOrCreateRepositoryState ( string repositoryUrl ) : RepositoryUIState

Gets or creates the UI state for a repository.

Method Details

GetOrCreateConnectSection() public method

Gets or creates the UI state for a named IGitHubConnectSection.
public GetOrCreateConnectSection ( string sectionName ) : GitHubConnectSectionState
sectionName string The name of the section.
return GitHubConnectSectionState

GetOrCreateRepositoryState() public method

Gets or creates the UI state for a repository.
public GetOrCreateRepositoryState ( string repositoryUrl ) : RepositoryUIState
repositoryUrl string The URL of the repository.
return RepositoryUIState