C# Class NuGet.SharedPackageRepository

Inheritance: LocalPackageRepository, ISharedPackageRepository
Afficher le fichier Open project: xero-github/Nuget Class Usage Examples

Méthodes publiques

Méthode Description
AddPackageReferenceEntry ( string packageId, SemanticVersion version ) : void
Exists ( string packageId, SemanticVersion version ) : bool
IsReferenced ( string packageId, SemanticVersion version ) : bool
RegisterRepository ( string path ) : void
RemovePackage ( IPackage package ) : void
SharedPackageRepository ( IPackagePathResolver resolver, IFileSystem fileSystem, IFileSystem configSettingsFileSystem ) : System
SharedPackageRepository ( string path ) : System
UnregisterRepository ( string path ) : void

Méthodes protégées

Méthode Description
CreateRepository ( string path ) : IPackageRepository

Private Methods

Méthode Description
AddEntry ( string path ) : void
DeleteEntry ( string path ) : void
FindEntry ( System.Xml.Linq.XDocument document, string path ) : System.Xml.Linq.XElement
GetRepositories ( ) : IEnumerable
GetRepositoryElements ( System.Xml.Linq.XDocument document ) : IEnumerable
GetRepositoryPaths ( ) : IEnumerable
GetStoreDocument ( bool createIfNotExists = false ) : System.Xml.Linq.XDocument
NormalizePath ( string path ) : string
SaveDocument ( System.Xml.Linq.XDocument document ) : void

Method Details

AddPackageReferenceEntry() public méthode

public AddPackageReferenceEntry ( string packageId, SemanticVersion version ) : void
packageId string
version SemanticVersion
Résultat void

CreateRepository() protected méthode

protected CreateRepository ( string path ) : IPackageRepository
path string
Résultat IPackageRepository

Exists() public méthode

public Exists ( string packageId, SemanticVersion version ) : bool
packageId string
version SemanticVersion
Résultat bool

IsReferenced() public méthode

public IsReferenced ( string packageId, SemanticVersion version ) : bool
packageId string
version SemanticVersion
Résultat bool

RegisterRepository() public méthode

public RegisterRepository ( string path ) : void
path string
Résultat void

RemovePackage() public méthode

public RemovePackage ( IPackage package ) : void
package IPackage
Résultat void

SharedPackageRepository() public méthode

public SharedPackageRepository ( IPackagePathResolver resolver, IFileSystem fileSystem, IFileSystem configSettingsFileSystem ) : System
resolver IPackagePathResolver
fileSystem IFileSystem
configSettingsFileSystem IFileSystem
Résultat System

SharedPackageRepository() public méthode

public SharedPackageRepository ( string path ) : System
path string
Résultat System

UnregisterRepository() public méthode

public UnregisterRepository ( string path ) : void
path string
Résultat void