C# 클래스 SonarQube.Plugins.Roslyn.NuGetPackageHandler

상속: INuGetPackageHandler
파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarqube-roslyn-sdk 1 사용 예제들

공개 메소드들

메소드 설명
FetchPackage ( string packageId, SemanticVersion version ) : IPackage

Attempts to download a NuGet package with the specified id and optional version to the specified directory

GetInstalledDependencies ( IPackage package ) : IEnumerable
GetLocalPackageRootDirectory ( IPackage package ) : string
NuGetPackageHandler ( IPackageRepository remoteRepository, string localCacheRoot, Common logger ) : System

비공개 메소드들

메소드 설명
GetAllDependencies ( IPackage current, List collectedDependencies ) : void
ListPackages ( IList packages ) : void
SelectLatestVersion ( IList packages ) : IPackage
TryGetPackage ( IPackageRepository repository, string packageId, SemanticVersion packageVersion ) : IPackage

메소드 상세

FetchPackage() 공개 메소드

Attempts to download a NuGet package with the specified id and optional version to the specified directory
public FetchPackage ( string packageId, SemanticVersion version ) : IPackage
packageId string
version SemanticVersion
리턴 IPackage

GetInstalledDependencies() 공개 메소드

public GetInstalledDependencies ( IPackage package ) : IEnumerable
package IPackage
리턴 IEnumerable

GetLocalPackageRootDirectory() 공개 메소드

public GetLocalPackageRootDirectory ( IPackage package ) : string
package IPackage
리턴 string

NuGetPackageHandler() 공개 메소드

public NuGetPackageHandler ( IPackageRepository remoteRepository, string localCacheRoot, Common logger ) : System
remoteRepository IPackageRepository
localCacheRoot string
logger Common
리턴 System