C# Class ScriptCs.Package.InstallationProvider.NugetInstallationProvider

Inheritance: IInstallationProvider
Afficher le fichier Open project: 7sharp9/scriptcs

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetVersion ( IPackageReference packageReference ) : SemanticVersion

Method Details

GetRepositorySources() public méthode

public GetRepositorySources ( string path ) : IEnumerable
path string
Résultat IEnumerable

InstallPackage() public méthode

public InstallPackage ( IPackageReference packageId, bool allowPreRelease = false, Action packageInstalled = null ) : bool
packageId IPackageReference
allowPreRelease bool
packageInstalled Action
Résultat bool

IsInstalled() public méthode

public IsInstalled ( IPackageReference packageReference, bool allowPreRelease = false ) : bool
packageReference IPackageReference
allowPreRelease bool
Résultat bool

NugetInstallationProvider() public méthode

public NugetInstallationProvider ( IFileSystem fileSystem ) : System
fileSystem IFileSystem
Résultat System