Sphyrnidae Common Library
2.0.1
Shared Utilities/Library
|
Interface definition for reading environmental settings More...
Public Member Functions | |
string | Get (string name) |
Obtains the environmental setting and returns the value More... | |
Interface definition for reading environmental settings
An environmental setting is anything that is static per application/environment. It is either read from the actual environment (eg. AWS), or from appsettings.json (others as well). The main entry point to obtain an environmental setting is via SettingsEnvironmental class.
string Sphyrnidae.Common.Environment.IEnvironmentSettings.Get | ( | string | name | ) |
Obtains the environmental setting and returns the value
name | The name of the environmental setting |
Implemented in Sphyrnidae.Common.Environment.EnvironmentalSettingsMock, and Sphyrnidae.Common.Environment.EnvironmentalSettings.