C# 클래스 NuGet.SharedPackageRepository

상속: LocalPackageRepository, ISharedPackageRepository
파일 보기 프로젝트 열기: xero-github/Nuget 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
CreateRepository ( string path ) : IPackageRepository

비공개 메소드들

메소드 설명
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

메소드 상세

AddPackageReferenceEntry() 공개 메소드

public AddPackageReferenceEntry ( string packageId, SemanticVersion version ) : void
packageId string
version SemanticVersion
리턴 void

CreateRepository() 보호된 메소드

protected CreateRepository ( string path ) : IPackageRepository
path string
리턴 IPackageRepository

Exists() 공개 메소드

public Exists ( string packageId, SemanticVersion version ) : bool
packageId string
version SemanticVersion
리턴 bool

IsReferenced() 공개 메소드

public IsReferenced ( string packageId, SemanticVersion version ) : bool
packageId string
version SemanticVersion
리턴 bool

RegisterRepository() 공개 메소드

public RegisterRepository ( string path ) : void
path string
리턴 void

RemovePackage() 공개 메소드

public RemovePackage ( IPackage package ) : void
package IPackage
리턴 void

SharedPackageRepository() 공개 메소드

public SharedPackageRepository ( IPackagePathResolver resolver, IFileSystem fileSystem, IFileSystem configSettingsFileSystem ) : System
resolver IPackagePathResolver
fileSystem IFileSystem
configSettingsFileSystem IFileSystem
리턴 System

SharedPackageRepository() 공개 메소드

public SharedPackageRepository ( string path ) : System
path string
리턴 System

UnregisterRepository() 공개 메소드

public UnregisterRepository ( string path ) : void
path string
리턴 void