C# 클래스 Microsoft.PackageManagement.NuGetProvider.LocalPackageRepository

Package repository for downloading data from file repositories
상속: IPackageRepository
파일 보기 프로젝트 열기: OneGet/NuGetProvider

공개 메소드들

메소드 설명
FindPackage ( string packageId, SemanticVersion version, NuGetRequest request ) : IPackage

Find-Package

FindPackagesById ( string packageId, NuGetRequest request ) : IEnumerable

Find-Package based the given Id

LocalPackageRepository ( string physicalPath, NuGetRequest request ) : System

Ctor's

Search ( string searchTerm, NuGetRequest nugetRequest ) : IEnumerable

Search the entire repository for the case when a user does not provider package name or uses wildcards in the name.

비공개 메소드들

메소드 설명
FileNameMatchesPattern ( string packageId, SemanticVersion version, string path ) : bool

True if the the file contains the right id and version.

FindPackage ( Func openPackage, string packageId, SemanticVersion version, NuGetRequest nugetRequest ) : IPackage

Find-Package

FindPackagesById ( Func openPackage, string packageId, Request request ) : IEnumerable

Find-Package based the given Id

GetPackage ( Func openPackage, string path, Request request ) : IPackage

Finding the package in the file repository

GetPackageFiles ( string filter = null ) : IEnumerable

Get the .nupkg files

GetPackageLookupPaths ( string packageId, SemanticVersion version ) : IEnumerable

Find the package files (.nupkg or .nuspec).

GetPackages ( Func openPackage, string packageId, IEnumerable packagePaths, Request request ) : IEnumerable

Finding the packages in the file repository

OpenPackage ( string path, Request request ) : IPackage

A delegate used for finding the package.

ProcessZipPackage ( string nupkgPath ) : PackageBase

Unzip the package and create PackageImpl object

SearchImpl ( string searchTerm, NuGetRequest nugetRequest ) : IEnumerable

메소드 상세

FindPackage() 공개 메소드

Find-Package
public FindPackage ( string packageId, SemanticVersion version, NuGetRequest request ) : IPackage
packageId string Package id
version SemanticVersion Package Name
request NuGetRequest
리턴 IPackage

FindPackagesById() 공개 메소드

Find-Package based the given Id
public FindPackagesById ( string packageId, NuGetRequest request ) : IEnumerable
packageId string Package Id
request NuGetRequest
리턴 IEnumerable

LocalPackageRepository() 공개 메소드

Ctor's
public LocalPackageRepository ( string physicalPath, NuGetRequest request ) : System
physicalPath string
request NuGetRequest
리턴 System

Search() 공개 메소드

Search the entire repository for the case when a user does not provider package name or uses wildcards in the name.
public Search ( string searchTerm, NuGetRequest nugetRequest ) : IEnumerable
searchTerm string The Searchterm
nugetRequest NuGetRequest
리턴 IEnumerable