ISettings
Assembly: ServiceStack.dll
View Source
Declaration
public interface ISettings
Methods
Get(String)
Provides a common interface for Settings providers such as ConfigurationManager or Azure's RoleEnvironment. The only requirement is that if the implementation cannot find the specified key, the return value must be null
View Source
Declaration
string Get(string key)
Returns
System.String
: The string value of the specified key, or null if the key
was invalid
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key for the setting |
|
GetAllKeys()
Return all keys in this configuration source.
View Source
Declaration
List<string> GetAllKeys()
Returns
System.Collections.Generic.List<System.String>