C# Class NuGetGallery.CuratedFeedService

Inheritance: ICuratedFeedService
ファイルを表示 Open project: JetBrains/ReSharperGallery Class Usage Examples

Public Methods

Method Description
CreatedCuratedPackage ( CuratedFeed curatedFeed, Package package, bool included = false, bool automaticallyCurated = false, string notes = null, bool commitChanges = true ) : CuratedPackage
CuratedFeedService ( IEntityRepository curatedFeedRepository, IEntityRepository curatedPackageRepository ) : System
DeleteCuratedPackage ( int curatedFeedKey, int curatedPackageKey ) : void
GetCuratedPackageRegistrations ( string curatedFeedName ) : IQueryable
GetFeedByKey ( int key, bool includePackages ) : CuratedFeed
GetFeedByName ( string name, bool includePackages ) : CuratedFeed
GetFeedsForManager ( int managerKey ) : IEnumerable
GetKey ( string curatedFeedName ) : int?
GetPackageRegistrations ( string curatedFeedName ) : IQueryable
GetPackages ( string curatedFeedName ) : IQueryable
ModifyCuratedPackage ( int curatedFeedKey, int curatedPackageKey, bool included ) : void
UpdateIsLatest ( NuGetGallery.PackageRegistration packageRegistration, bool commitChanges ) : void

Protected Methods

Method Description
CuratedFeedService ( ) : System

Private Methods

Method Description
FindPackage ( IEnumerable packages, bool>.Func predicate = null ) : CuratedPackageVersion

Method Details

CreatedCuratedPackage() public method

public CreatedCuratedPackage ( CuratedFeed curatedFeed, Package package, bool included = false, bool automaticallyCurated = false, string notes = null, bool commitChanges = true ) : CuratedPackage
curatedFeed CuratedFeed
package Package
included bool
automaticallyCurated bool
notes string
commitChanges bool
return CuratedPackage

CuratedFeedService() protected method

protected CuratedFeedService ( ) : System
return System

CuratedFeedService() public method

public CuratedFeedService ( IEntityRepository curatedFeedRepository, IEntityRepository curatedPackageRepository ) : System
curatedFeedRepository IEntityRepository
curatedPackageRepository IEntityRepository
return System

DeleteCuratedPackage() public method

public DeleteCuratedPackage ( int curatedFeedKey, int curatedPackageKey ) : void
curatedFeedKey int
curatedPackageKey int
return void

GetCuratedPackageRegistrations() public method

public GetCuratedPackageRegistrations ( string curatedFeedName ) : IQueryable
curatedFeedName string
return IQueryable

GetFeedByKey() public method

public GetFeedByKey ( int key, bool includePackages ) : CuratedFeed
key int
includePackages bool
return CuratedFeed

GetFeedByName() public method

public GetFeedByName ( string name, bool includePackages ) : CuratedFeed
name string
includePackages bool
return CuratedFeed

GetFeedsForManager() public method

public GetFeedsForManager ( int managerKey ) : IEnumerable
managerKey int
return IEnumerable

GetKey() public method

public GetKey ( string curatedFeedName ) : int?
curatedFeedName string
return int?

GetPackageRegistrations() public method

public GetPackageRegistrations ( string curatedFeedName ) : IQueryable
curatedFeedName string
return IQueryable

GetPackages() public method

public GetPackages ( string curatedFeedName ) : IQueryable
curatedFeedName string
return IQueryable

ModifyCuratedPackage() public method

public ModifyCuratedPackage ( int curatedFeedKey, int curatedPackageKey, bool included ) : void
curatedFeedKey int
curatedPackageKey int
included bool
return void

UpdateIsLatest() public method

public UpdateIsLatest ( NuGetGallery.PackageRegistration packageRegistration, bool commitChanges ) : void
packageRegistration NuGetGallery.PackageRegistration
commitChanges bool
return void