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

Inheritance: ViewModelBase
Afficher le fichier Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

SetProjects() public méthode

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
Résultat void