Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
Sphyrnidae.Common.Environment.IEnvironmentSettings Interface Reference

Interface definition for reading environmental settings More...

Inheritance diagram for Sphyrnidae.Common.Environment.IEnvironmentSettings:
Sphyrnidae.Common.Environment.EnvironmentalSettings Sphyrnidae.Common.Environment.EnvironmentalSettingsMock

Public Member Functions

string Get (string name)
 Obtains the environmental setting and returns the value More...
 

Detailed Description

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.

Member Function Documentation

◆ Get()

string Sphyrnidae.Common.Environment.IEnvironmentSettings.Get ( string  name)

Obtains the environmental setting and returns the value

Parameters
nameThe name of the environmental setting
Returns
The value of the environmental setting

Implemented in Sphyrnidae.Common.Environment.EnvironmentalSettingsMock, and Sphyrnidae.Common.Environment.EnvironmentalSettings.


The documentation for this interface was generated from the following file: