C# 클래스 NuGet.Services.BasicSearch.ConfigurationService

상속: IConfiguration
파일 보기 프로젝트 열기: NuGet/NuGet.Services.Metadata

공개 메소드들

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