C# Класс NuGet.Services.BasicSearch.ConfigurationService

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

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

Метод Описание
ConfigurationService ( ISecretReaderFactory secretReaderFactory ) : System
Get ( string key ) : string

Gets a value from the configuration service.

InitSecretInjector ( ) : ISecretInjector
TryGet ( string key, string &value ) : bool

Tries to get a value from the configuration service.

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

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

public ConfigurationService ( ISecretReaderFactory secretReaderFactory ) : System
secretReaderFactory ISecretReaderFactory
Результат System

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

Gets a value from the configuration service.
public Get ( string key ) : string
key string The configuration key to fetch the value for.
Результат string

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

public InitSecretInjector ( ) : ISecretInjector
Результат ISecretInjector

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

Tries to get a value from the configuration service.
public TryGet ( string key, string &value ) : bool
key string The configuration key to fetch the value for.
value string The value that will be set to null if the key is not found.
Результат bool