C# Class SonarLint.VisualStudio.Integration.VsShellUtils

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

Méthodes publiques

Méthode Description
ActivateSolutionExplorer ( IServiceProvider serviceProvider ) : void
EnumerateProjectProperties ( Project project, string propertyName ) : IEnumerable
FindProperty ( Properties properties, string propertyName ) : System.Property
GetOrCreateSonarLintOutputPane ( IServiceProvider serviceProvider ) : IVsOutputWindowPane
IsSolutionExistsAndFullyLoaded ( ) : bool
IsSolutionExistsAndNotBuildingAndNotDebugging ( ) : bool
SaveSolution ( IServiceProvider serviceProvider, bool silent ) : bool
WriteToSonarLintOutputPane ( IServiceProvider serviceProvider, string messageFormat ) : void

Writes a message to the SonarLint output pane. Will append a new line after the message.

Private Methods

Méthode Description
WriteLineToPane ( IVsOutputWindowPane pane, string messageFormat ) : void

Method Details

ActivateSolutionExplorer() public static méthode

public static ActivateSolutionExplorer ( IServiceProvider serviceProvider ) : void
serviceProvider IServiceProvider
Résultat void

EnumerateProjectProperties() public static méthode

public static EnumerateProjectProperties ( Project project, string propertyName ) : IEnumerable
project Project
propertyName string
Résultat IEnumerable

FindProperty() public static méthode

public static FindProperty ( Properties properties, string propertyName ) : System.Property
properties Properties
propertyName string
Résultat System.Property

GetOrCreateSonarLintOutputPane() public static méthode

public static GetOrCreateSonarLintOutputPane ( IServiceProvider serviceProvider ) : IVsOutputWindowPane
serviceProvider IServiceProvider
Résultat IVsOutputWindowPane

IsSolutionExistsAndFullyLoaded() public static méthode

public static IsSolutionExistsAndFullyLoaded ( ) : bool
Résultat bool

IsSolutionExistsAndNotBuildingAndNotDebugging() public static méthode

public static IsSolutionExistsAndNotBuildingAndNotDebugging ( ) : bool
Résultat bool

SaveSolution() public static méthode

public static SaveSolution ( IServiceProvider serviceProvider, bool silent ) : bool
serviceProvider IServiceProvider
silent bool
Résultat bool

WriteToSonarLintOutputPane() public static méthode

Writes a message to the SonarLint output pane. Will append a new line after the message.
public static WriteToSonarLintOutputPane ( IServiceProvider serviceProvider, string messageFormat ) : void
serviceProvider IServiceProvider
messageFormat string
Résultat void