Environment


The Environment is the Service or Application object. It would usually be a Singleton, although not a rule, and it would contain events, callbacks and Framework wide concerns.

The perfect place to provide the Configuration Settings in Object form. As in Environment.Configuration.

Allowing this, automatically provides extensible runtime MetaData, vs the static approach. It can also be an extension point for the Application, to retrieve perhaps MySQL stored settings and populate the Environment.Configuration objects.