C# 클래스 NuGet.DataServicePackageRepository

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

Private Properties

프로퍼티 타입 설명
Escape string
OnReadingEntity void
OnSendingRequest void
ToString string

공개 메소드들

메소드 설명
Clone ( ) : IPackageRepository
DataServicePackageRepository ( IHttpClient client ) : System
DataServicePackageRepository ( IHttpClient client, PackageDownloader packageDownloader ) : System
DataServicePackageRepository ( Uri serviceRoot ) : System
FindPackagesById ( string packageId ) : IEnumerable
GetPackages ( ) : IQueryable
GetUpdates ( IEnumerable packages, bool includePrerelease, bool includeAllVersions, IEnumerable targetFramework ) : IEnumerable
Search ( string searchTerm, IEnumerable targetFrameworks, bool allowPrereleaseVersions ) : IQueryable

비공개 메소드들

메소드 설명
Escape ( string value ) : string

Escapes single quotes in the value by replacing them with two single quotes.

OnReadingEntity ( object sender, System.Data.Services.Client.ReadingWritingEntityEventArgs e ) : void
OnSendingRequest ( object sender, System.Data.Services.Client.SendingRequestEventArgs e ) : void
ToString ( bool value ) : string

메소드 상세

Clone() 공개 메소드

public Clone ( ) : IPackageRepository
리턴 IPackageRepository

DataServicePackageRepository() 공개 메소드

public DataServicePackageRepository ( IHttpClient client ) : System
client IHttpClient
리턴 System

DataServicePackageRepository() 공개 메소드

public DataServicePackageRepository ( IHttpClient client, PackageDownloader packageDownloader ) : System
client IHttpClient
packageDownloader PackageDownloader
리턴 System

DataServicePackageRepository() 공개 메소드

public DataServicePackageRepository ( Uri serviceRoot ) : System
serviceRoot System.Uri
리턴 System

FindPackagesById() 공개 메소드

public FindPackagesById ( string packageId ) : IEnumerable
packageId string
리턴 IEnumerable

GetPackages() 공개 메소드

public GetPackages ( ) : IQueryable
리턴 IQueryable

GetUpdates() 공개 메소드

public GetUpdates ( IEnumerable packages, bool includePrerelease, bool includeAllVersions, IEnumerable targetFramework ) : IEnumerable
packages IEnumerable
includePrerelease bool
includeAllVersions bool
targetFramework IEnumerable
리턴 IEnumerable

Search() 공개 메소드

public Search ( string searchTerm, IEnumerable targetFrameworks, bool allowPrereleaseVersions ) : IQueryable
searchTerm string
targetFrameworks IEnumerable
allowPrereleaseVersions bool
리턴 IQueryable