C# 클래스 ScriptCs.Package.InstallationProvider.NugetInstallationProvider

상속: IInstallationProvider
파일 보기 프로젝트 열기: 7sharp9/scriptcs

공개 메소드들

메소드 설명
GetRepositorySources ( string path ) : IEnumerable
InstallPackage ( IPackageReference packageId, bool allowPreRelease = false, Action packageInstalled = null ) : bool
IsInstalled ( IPackageReference packageReference, bool allowPreRelease = false ) : bool
NugetInstallationProvider ( IFileSystem fileSystem ) : System

비공개 메소드들

메소드 설명
GetVersion ( IPackageReference packageReference ) : SemanticVersion

메소드 상세

GetRepositorySources() 공개 메소드

public GetRepositorySources ( string path ) : IEnumerable
path string
리턴 IEnumerable

InstallPackage() 공개 메소드

public InstallPackage ( IPackageReference packageId, bool allowPreRelease = false, Action packageInstalled = null ) : bool
packageId IPackageReference
allowPreRelease bool
packageInstalled Action
리턴 bool

IsInstalled() 공개 메소드

public IsInstalled ( IPackageReference packageReference, bool allowPreRelease = false ) : bool
packageReference IPackageReference
allowPreRelease bool
리턴 bool

NugetInstallationProvider() 공개 메소드

public NugetInstallationProvider ( IFileSystem fileSystem ) : System
fileSystem IFileSystem
리턴 System