C# Class Platform.Node.Worker.AzureSettingsProvider

Settings provider built on top of the Windows Azure
Show file Open project: Lokad/lokad-data-platform Class Usage Examples

Public Methods

Method Description
TryGetString ( string key, string &result ) : bool

Attempts to get the configuration string from cloud environment or app settings.

TryGetString ( string key ) : string

Private Methods

Method Description
DetectCloudEnvironment ( ) : bool
GetStringOrThrow ( string key ) : string

Method Details

TryGetString() public static method

Attempts to get the configuration string from cloud environment or app settings.
public static TryGetString ( string key, string &result ) : bool
key string The key.
result string The result.
return bool

TryGetString() public static method

public static TryGetString ( string key ) : string
key string
return string