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

상속: System.MarshalByRefObject, IApplicationSettings
파일 보기 프로젝트 열기: dealproc/Drey

공개 메소드들

메소드 설명
ApplicationSettingsService ( string packageId, Repositories packageSettingsRepository ) : Drey.Nut

Initializes a new instance of the ApplicationSettingsService class.

Exists ( string key ) : bool

Checks to see if an application setting exists within the underlying repository, by its key.

Register ( string key, string value = "" ) : void

Registers an application setting with the underlying repository.

this ( string key ) : string

Gets the System.String with the specified key.

메소드 상세

ApplicationSettingsService() 공개 메소드

Initializes a new instance of the ApplicationSettingsService class.
public ApplicationSettingsService ( string packageId, Repositories packageSettingsRepository ) : Drey.Nut
packageId string The package identifier.
packageSettingsRepository Repositories The package settings repository.
리턴 Drey.Nut

Exists() 공개 메소드

Checks to see if an application setting exists within the underlying repository, by its key.
public Exists ( string key ) : bool
key string The key.
리턴 bool

Register() 공개 메소드

Registers an application setting with the underlying repository.
public Register ( string key, string value = "" ) : void
key string The key.
value string The value.
리턴 void

this() 공개 메소드

Gets the System.String with the specified key.
public this ( string key ) : string
key string The key.
리턴 string