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

Наследование: System.MarshalByRefObject, IApplicationSettings
Показать файл Открыть проект

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

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