C# 클래스 PayPal.Api.ConfigManager

ConfigManager loads the configuration file and hands out appropriate parameters to application
파일 보기 프로젝트 열기: paypal/PayPal-NET-SDK 1 사용 예제들

공개 메소드들

메소드 설명
GetConfigWithDefaults ( string>.Dictionary config ) : string>.Dictionary

Creates new configuration that combines incoming configuration dictionary and defaults

GetDefault ( string configKey ) : string

Gets the default configuration value for the specified key.

GetProperties ( ) : string>.Dictionary

Returns all properties from the config file

IsLiveModeEnabled ( string>.Dictionary config ) : bool

Returns whether or not live mode is enabled in the given configuration.

비공개 메소드들

메소드 설명
ConfigManager ( ) : System

Explicit static constructor to tell C# compiler not to mark type as beforefieldinit

메소드 상세

GetConfigWithDefaults() 공개 정적인 메소드

Creates new configuration that combines incoming configuration dictionary and defaults
public static GetConfigWithDefaults ( string>.Dictionary config ) : string>.Dictionary
config string>.Dictionary
리턴 string>.Dictionary

GetDefault() 공개 정적인 메소드

Gets the default configuration value for the specified key.
public static GetDefault ( string configKey ) : string
configKey string The key to lookup in the default configuration.
리턴 string

GetProperties() 공개 메소드

Returns all properties from the config file
public GetProperties ( ) : string>.Dictionary
리턴 string>.Dictionary

IsLiveModeEnabled() 공개 정적인 메소드

Returns whether or not live mode is enabled in the given configuration.
public static IsLiveModeEnabled ( string>.Dictionary config ) : bool
config string>.Dictionary Configuration to use
리턴 bool