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
Показать файл Открыть проект

Открытые методы

Метод Описание
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