C# 클래스 NuGet.LocalPackageRepository

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

공개 메소드들

메소드 설명
AddPackage ( IPackage package ) : void
Exists ( string packageId, SemanticVersion version ) : bool
FindPackage ( string packageId, SemanticVersion version ) : IPackage
GetPackageLookupPaths ( string packageId, SemanticVersion version ) : IEnumerable
GetPackages ( ) : IQueryable
LocalPackageRepository ( IPackagePathResolver pathResolver, IFileSystem fileSystem ) : System
LocalPackageRepository ( IPackagePathResolver pathResolver, IFileSystem fileSystem, bool enableCaching ) : System
LocalPackageRepository ( string physicalPath ) : System
LocalPackageRepository ( string physicalPath, bool enableCaching ) : System
RemovePackage ( IPackage package ) : void

보호된 메소드들

메소드 설명
GetPackageFilePath ( IPackage package ) : string
GetPackageFilePath ( string id, SemanticVersion version ) : string
OpenPackage ( string path ) : IPackage

비공개 메소드들

메소드 설명
FileNameMatchesPattern ( string packageId, SemanticVersion version, string path ) : bool
FindPackage ( IPackage>.Func openPackage, string packageId, SemanticVersion version ) : IPackage
GetPackage ( IPackage>.Func openPackage, string path ) : IPackage
GetPackageFiles ( string filter = null ) : IEnumerable
GetPackages ( IPackage>.Func openPackage ) : IEnumerable

메소드 상세

AddPackage() 공개 메소드

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

Exists() 공개 메소드

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

FindPackage() 공개 메소드

public FindPackage ( string packageId, SemanticVersion version ) : IPackage
packageId string
version SemanticVersion
리턴 IPackage

GetPackageFilePath() 보호된 메소드

protected GetPackageFilePath ( IPackage package ) : string
package IPackage
리턴 string

GetPackageFilePath() 보호된 메소드

protected GetPackageFilePath ( string id, SemanticVersion version ) : string
id string
version SemanticVersion
리턴 string

GetPackageLookupPaths() 공개 메소드

public GetPackageLookupPaths ( string packageId, SemanticVersion version ) : IEnumerable
packageId string
version SemanticVersion
리턴 IEnumerable

GetPackages() 공개 메소드

public GetPackages ( ) : IQueryable
리턴 IQueryable

LocalPackageRepository() 공개 메소드

public LocalPackageRepository ( IPackagePathResolver pathResolver, IFileSystem fileSystem ) : System
pathResolver IPackagePathResolver
fileSystem IFileSystem
리턴 System

LocalPackageRepository() 공개 메소드

public LocalPackageRepository ( IPackagePathResolver pathResolver, IFileSystem fileSystem, bool enableCaching ) : System
pathResolver IPackagePathResolver
fileSystem IFileSystem
enableCaching bool
리턴 System

LocalPackageRepository() 공개 메소드

public LocalPackageRepository ( string physicalPath ) : System
physicalPath string
리턴 System

LocalPackageRepository() 공개 메소드

public LocalPackageRepository ( string physicalPath, bool enableCaching ) : System
physicalPath string
enableCaching bool
리턴 System

OpenPackage() 보호된 메소드

protected OpenPackage ( string path ) : IPackage
path string
리턴 IPackage

RemovePackage() 공개 메소드

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