C# Class 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.
Inheritance: System.MarshalByRefObject, IPackageRepository
Datei anzeigen Open project: dealproc/Drey

Public Methods

Method Description
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.

Private Methods

Method Description
InitializeLifetimeService ( ) : object

Method Details

All() public method

Alls this instance.
public All ( ) : IEnumerable
return IEnumerable

Delete() public method

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.
return void

GetPackages() public method

Gets the packages.
public GetPackages ( ) : IEnumerable
return IEnumerable

GetReleases() public method

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

OnDiskPackageRepository() public method

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

Store() public method

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