C# Class SonarLint.VisualStudio.Integration.VsShellUtils

Datei anzeigen Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method 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

Method Description
WriteLineToPane ( IVsOutputWindowPane pane, string messageFormat ) : void

Method Details

ActivateSolutionExplorer() public static method

public static ActivateSolutionExplorer ( IServiceProvider serviceProvider ) : void
serviceProvider IServiceProvider
return void

EnumerateProjectProperties() public static method

public static EnumerateProjectProperties ( Project project, string propertyName ) : IEnumerable
project Project
propertyName string
return IEnumerable

FindProperty() public static method

public static FindProperty ( Properties properties, string propertyName ) : System.Property
properties Properties
propertyName string
return System.Property

GetOrCreateSonarLintOutputPane() public static method

public static GetOrCreateSonarLintOutputPane ( IServiceProvider serviceProvider ) : IVsOutputWindowPane
serviceProvider IServiceProvider
return IVsOutputWindowPane

IsSolutionExistsAndFullyLoaded() public static method

public static IsSolutionExistsAndFullyLoaded ( ) : bool
return bool

IsSolutionExistsAndNotBuildingAndNotDebugging() public static method

public static IsSolutionExistsAndNotBuildingAndNotDebugging ( ) : bool
return bool

SaveSolution() public static method

public static SaveSolution ( IServiceProvider serviceProvider, bool silent ) : bool
serviceProvider IServiceProvider
silent bool
return bool

WriteToSonarLintOutputPane() public static method

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
return void