C# 클래스 Drey.Configuration.Services.PackageService

상속: IPackageService
파일 보기 프로젝트 열기: dealproc/Drey

공개 메소드들

메소드 설명
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