C# 클래스 Drey.Configuration.Repositories.OnDisk.OnDiskPackageRepository

Used when the system is in development mode, this infers stored data by parsing the folders in the ~/Hoarde folder on disc to present a somewhat realistic representation of what would be stored for each package.
상속: System.MarshalByRefObject, IPackageRepository
파일 보기 프로젝트 열기: dealproc/Drey

공개 메소드들

메소드 설명
All ( ) : IEnumerable

Alls this instance.

Delete ( string packageId, string version ) : void

Deletes the specified package identifier.

GetPackages ( ) : IEnumerable

Gets the packages.

GetReleases ( string packageId ) : IEnumerable

Gets the releases.

OnDiskPackageRepository ( Drey configurationManager ) : System

Initializes a new instance of the OnDiskPackageRepository class.

Store ( DataModel r ) : DataModel.Release

Stores the specified r.

비공개 메소드들

메소드 설명
InitializeLifetimeService ( ) : object

메소드 상세

All() 공개 메소드

Alls this instance.
public All ( ) : IEnumerable
리턴 IEnumerable

Delete() 공개 메소드

Deletes the specified package identifier.
we do not delete packages from disc.
public Delete ( string packageId, string version ) : void
packageId string The package identifier.
version string The version.
리턴 void

GetPackages() 공개 메소드

Gets the packages.
public GetPackages ( ) : IEnumerable
리턴 IEnumerable

GetReleases() 공개 메소드

Gets the releases.
public GetReleases ( string packageId ) : IEnumerable
packageId string The package identifier.
리턴 IEnumerable

OnDiskPackageRepository() 공개 메소드

Initializes a new instance of the OnDiskPackageRepository class.
public OnDiskPackageRepository ( Drey configurationManager ) : System
configurationManager Drey The configuration manager.
리턴 System

Store() 공개 메소드

Stores the specified r.
On-Disk Package Repository is for development purposes only.
public Store ( DataModel r ) : DataModel.Release
r DataModel The r.
리턴 DataModel.Release