IFeature Interface |
Namespace: SanteDB.Core.Configuration
The IFeature type exposes the following members.
Name | Description | |
---|---|---|
Configuration |
Gets or sets the configuration object which the feature wishes the configuration tool to render.
| |
ConfigurationType |
Gets or sets the type of configuration section which this feature is expecting
| |
Description |
Gets a human readable description of the feature which can be shown on the user interface
| |
Flags |
Gets the flags for this feature (such as auto-configure, always apply configuration, etc.)
| |
Group |
The group in which this feature belongs
| |
Name |
Gets the name of the feature to show in the main configuration panel
|
Name | Description | |
---|---|---|
CreateInstallTasks |
Creates one or more IConfigurationTask instances which can be executed to setup the feature
| |
CreateUninstallTasks |
Creates one or more IConfigurationTask instances which can be executed to remove the feature from SanteDB
| |
QueryState |
Query the status of the feature in configuration |
The configuration tooling in SanteDB exposes a list of grouped "features" which can be configured using the SanteDB configuration tool. Each feature defines a configuration object which the configuration tooling uses to render a property grid (allowing users to change the values of the setting). When the configuration is applied, the feature is instructed to create either installation tasks or un-installation tasks
Each IConfigurationTask created for install or un-install is responsible for changing the configuration file, the host operating system, or any other steps necessary to enable to remove the feature from the SanteDB instance.