C# Class SonarLint.VisualStudio.Integration.TeamExplorer.ServerViewModel

Inheritance: ViewModelBase
Mostrar archivo Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method Description
ServerViewModel ( ConnectionInformation connectionInformation, bool isExpanded = true ) : SonarLint.VisualStudio.Integration.Resources
SetProjects ( IEnumerable projectsToSet ) : void

Will clear any existing project view models and will replace them with the specified ones. The project view models will be alphabetically sorted by ProjectInformation.Name for the StringComparer.CurrentCulture

Method Details

ServerViewModel() public method

public ServerViewModel ( ConnectionInformation connectionInformation, bool isExpanded = true ) : SonarLint.VisualStudio.Integration.Resources
connectionInformation SonarLint.VisualStudio.Integration.Service.ConnectionInformation
isExpanded bool
return SonarLint.VisualStudio.Integration.Resources

SetProjects() public method

Will clear any existing project view models and will replace them with the specified ones. The project view models will be alphabetically sorted by ProjectInformation.Name for the StringComparer.CurrentCulture
public SetProjects ( IEnumerable projectsToSet ) : void
projectsToSet IEnumerable
return void