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
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Méthode 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

Méthode Description
InitializeLifetimeService ( ) : object

Method Details

All() public méthode

Alls this instance.
public All ( ) : IEnumerable
Résultat IEnumerable

Delete() public méthode

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.
Résultat void

GetPackages() public méthode

Gets the packages.
public GetPackages ( ) : IEnumerable
Résultat IEnumerable

GetReleases() public méthode

Gets the releases.
public GetReleases ( string packageId ) : IEnumerable
packageId string The package identifier.
Résultat IEnumerable

OnDiskPackageRepository() public méthode

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

Store() public méthode

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