C# Класс Drey.Configuration.Services.PackageService

Наследование: IPackageService
Показать файл Открыть проект

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

Метод Описание
ConnectionFactoryProviders ( ) : string>.IDictionary

Retrieves a list of the System.Data Connection Factory Providers registered in this system.

Dashboard ( string packageId ) : AppletDashboardPmo

Renders a PMO to display the configuration of a package.

Diff ( string packageId, IEnumerable discoveredReleases ) : IEnumerable

Discovers releases that have not been applied to this client.

GetAppSetting ( string packageId, string key ) : AppSettingPmo

Gets the application setting from the repository.

GetConnectionString ( string packageId, string name ) : ConnectionStringPmo

Retrieves the connection string from the repository.

GetPackages ( ) : IEnumerable

Gets a list of packages.

GetReleases ( string packageId ) : IEnumerable

Gets the list of historical releases, for a given package id.

LatestRegisteredReleases ( ) : IEnumerable

Retrieves the list of latest releases registered on the system.

PackageService ( IPackageRepository packageRepository, IConnectionStringRepository connectionStringRepository, IPackageSettingRepository packageSettingRepository, ServiceModel hoardeManager ) : Drey.Configuration.Repositories

Initializes a new instance of the PackageService class.

RecordAppSetting ( ViewModels model ) : void

Records the application setting to the repository.

RecordConnectionString ( ViewModels model ) : void

Stores the connection string to the repository.

RecordReleases ( IEnumerable newReleases ) : void

Stores a list of releases.

RemoveAppSetting ( ViewModels model ) : void

Removes the application setting from the underlying repository.

RemoveConnectionString ( ViewModels model ) : void

Removes the connection string from the underlying repository.

Описание методов

ConnectionFactoryProviders() публичный Метод

Retrieves a list of the System.Data Connection Factory Providers registered in this system.
public ConnectionFactoryProviders ( ) : string>.IDictionary
Результат string>.IDictionary

Dashboard() публичный Метод

Renders a PMO to display the configuration of a package.
public Dashboard ( string packageId ) : AppletDashboardPmo
packageId string The package identifier.
Результат Drey.Configuration.Services.ViewModels.AppletDashboardPmo

Diff() публичный Метод

Discovers releases that have not been applied to this client.
public Diff ( string packageId, IEnumerable discoveredReleases ) : IEnumerable
packageId string The package identifier.
discoveredReleases IEnumerable The discovered releases.
Результат IEnumerable

GetAppSetting() публичный Метод

Gets the application setting from the repository.
public GetAppSetting ( string packageId, string key ) : AppSettingPmo
packageId string The package identifier.
key string The key.
Результат Drey.Configuration.Services.ViewModels.AppSettingPmo

GetConnectionString() публичный Метод

Retrieves the connection string from the repository.
public GetConnectionString ( string packageId, string name ) : ConnectionStringPmo
packageId string The package identifier.
name string The name.
Результат Drey.Configuration.Services.ViewModels.ConnectionStringPmo

GetPackages() публичный Метод

Gets a list of packages.
public GetPackages ( ) : IEnumerable
Результат IEnumerable

GetReleases() публичный Метод

Gets the list of historical releases, for a given package id.
public GetReleases ( string packageId ) : IEnumerable
packageId string The package identifier.
Результат IEnumerable

LatestRegisteredReleases() публичный Метод

Retrieves the list of latest releases registered on the system.
public LatestRegisteredReleases ( ) : IEnumerable
Результат IEnumerable

PackageService() публичный Метод

Initializes a new instance of the PackageService class.
public PackageService ( IPackageRepository packageRepository, IConnectionStringRepository connectionStringRepository, IPackageSettingRepository packageSettingRepository, ServiceModel hoardeManager ) : Drey.Configuration.Repositories
packageRepository IPackageRepository The package repository.
connectionStringRepository IConnectionStringRepository The connection string repository.
packageSettingRepository IPackageSettingRepository The package setting repository.
hoardeManager ServiceModel
Результат Drey.Configuration.Repositories

RecordAppSetting() публичный Метод

Records the application setting to the repository.
public RecordAppSetting ( ViewModels model ) : void
model ViewModels The model.
Результат void

RecordConnectionString() публичный Метод

Stores the connection string to the repository.
public RecordConnectionString ( ViewModels model ) : void
model ViewModels The model.
Результат void

RecordReleases() публичный Метод

Stores a list of releases.
public RecordReleases ( IEnumerable newReleases ) : void
newReleases IEnumerable The new releases.
Результат void

RemoveAppSetting() публичный Метод

Removes the application setting from the underlying repository.
public RemoveAppSetting ( ViewModels model ) : void
model ViewModels The model.
Результат void

RemoveConnectionString() публичный Метод

Removes the connection string from the underlying repository.
public RemoveConnectionString ( ViewModels model ) : void
model ViewModels The model.
Результат void