C# Class SonarLint.VisualStudio.Integration.Binding.NuGetHelper

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

Méthodes publiques

Méthode Description
LoadService ( IServiceProvider serviceProvider ) : IVsPackageInstaller
TryInstallPackage ( IServiceProvider serviceProvider, Project project, string packageId, string version = null ) : bool

Method Details

LoadService() public static méthode

public static LoadService ( IServiceProvider serviceProvider ) : IVsPackageInstaller
serviceProvider IServiceProvider
Résultat IVsPackageInstaller

TryInstallPackage() public static méthode

public static TryInstallPackage ( IServiceProvider serviceProvider, Project project, string packageId, string version = null ) : bool
serviceProvider IServiceProvider
project Project
packageId string
version string
Résultat bool