Docker |
The DockerConfigurationManager type exposes the following members.
| Name | Description | |
|---|---|---|
| DockerConfigurationManager | Get configuration service |
| Name | Description | |
|---|---|---|
| Configuration | Gets the current configuration | |
| IsReadonly | True if the configuration manager is readonly | |
| ServiceName | Gets the service name |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetAppSetting | Get an application setting | |
| GetConnectionString | Gets the specified configuration string | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetSectionT | Get the specified configuration section | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Reload | Reload the configuration | |
| SaveConfiguration | Save the configuration | |
| SetAppSetting | Sets an app setting | |
| SetTransientConnectionString | Adds a connection string only for the lifetime of the server | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods) | |
| WithControl |
With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions) |
This implementation of the IConfigurationManager uses environment variables passed from a Dockerized Installation Environment so that SanteDB modules may operate as though they were configured from a static configuration file.
This class scans the SDB_FEATURE environment variables and locates the IDockerFeature implementation for the specified environment variable. It then calls the Configure() method on those implementations and builds an instance of the SanteDBConfiguration object based on those providers.
For more information about the Docker features and their configuration see the Docker Feature documentation article