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

Show file Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

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

Method Details

LoadService() public static method

public static LoadService ( IServiceProvider serviceProvider ) : IVsPackageInstaller
serviceProvider IServiceProvider
return IVsPackageInstaller

TryInstallPackage() public static method

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