DigitalData.Modules.Config
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
The primary connection string. Will not be saved to userconfig.
The test connection string. Will not be saved to userconfig.
The app serverSQL connection string. Will not be saved to userconfig.
The EDMIapp server . Will not be saved to userconfig.
Global setting. Will not be saved to userconfig.
Ermittelt die aktuelle Lizenz für das gewünschte Produkt
aus der DB-Tabelle TBDD_3RD_PARTY_MODULES
An instance of LogConfig
Initial connectionstring for connecting to DD_ECM database.
LicenseKey, if found, otherwise String.Empty
Signals that all properties will be written to (and read from) the UserConfig.xml
If Value is `True`:
- AppConfig.xml does NOT exist
- ComputerConfig.xml does NOT exist
- ConnectionStrings will be saved to or read from UserConfig.xml
If Value is `False`:
- No ConnectionStrings will be saved to or read from UserConfig.xml
Can be overwritten by optional parameter `ForceUserConfig`
Returns the currently loaded config object
Path to the current user config.
Path to the current computer config.
Path to the current Application config.
Creates a new instance of the ConfigManager
LogConfig instance
The path to check for a user config file, eg. AppData (Usually Application.UserAppDataPath or Application.LocalUserAppDataPath)
The path to check for a computer config file, eg. ProgramData (Usually Application.CommonAppDataPath)
The path to check for a third config file. This is useful when running the Application in an environment where AppData/ProgramData directories are not available
Override values from ComputerConfig with UserConfig
Creates a new ConfigManager with a single (user)config path
LogConfig instance
The path to check for a user config file, eg. AppData (Usually Application.UserAppDataPath or Application.LocalUserAppDataPath)
Save the current config object to `UserConfigPath`
Force saving all attributes including the attributes marked as excluded
True if save was successful, False otherwise
Reloads the config object from file.
True if reload was successful, False otherwise
Copies all properties from Source to Target, except those who have an attribute
listed in ExcludedAttributeTypes
Source config object
Target config object
List of Attribute type to exclude
Filters a config object by copying all values except `ExcludedAttributeTypes`
Config object
List of Attribute type to exclude
Serialize a config object to byte array
Write an object to disk as xml
The object to write
The file name to write to
Reads an xml from disk and deserializes to object
Migrate a config file when the ProductName has changed
The user config base path, should be Application.UserAppDataPath
The current or new product name
The old product name
Migrate a config file when the ProductName has changed
The config base path, should be Application.CommonAppDataPath
The current or new product name
The old product name
Migrate a config file when the ProductName has changed
The config base path, can be Application.UserAppDataPath or Application.CommonAppDataPath
The current or new product name
The old product name