C# Class NuGet.Dialog.Providers.LazyRepository

Inheritance: IServiceBasedRepository, IOperationAwareRepository, ILatestPackageLookup, IPackageLookup
显示文件 Open project: themotleyfool/NuGet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddPackage ( IPackage package ) : void
FindPackagesById ( string packageId ) : IEnumerable
GetPackages ( ) : IQueryable
GetUpdates ( IEnumerable packages, bool includePrerelease, bool includeAllVersions, IEnumerable targetFramework ) : IEnumerable
LazyRepository ( IPackageRepositoryFactory factory, PackageSource source ) : System
RemovePackage ( IPackage package ) : void
Search ( string searchTerm, IEnumerable targetFrameworks, bool allowPrereleaseVersions ) : IQueryable
StartOperation ( string operation ) : IDisposable

Method Details

AddPackage() public method

public AddPackage ( IPackage package ) : void
package IPackage
return void

FindPackagesById() public method

public FindPackagesById ( string packageId ) : IEnumerable
packageId string
return IEnumerable

GetPackages() public method

public GetPackages ( ) : IQueryable
return IQueryable

GetUpdates() public method

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

LazyRepository() public method

public LazyRepository ( IPackageRepositoryFactory factory, PackageSource source ) : System
factory IPackageRepositoryFactory
source PackageSource
return System

RemovePackage() public method

public RemovePackage ( IPackage package ) : void
package IPackage
return void

Search() public method

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

StartOperation() public method

public StartOperation ( string operation ) : IDisposable
operation string
return IDisposable