Click or drag to resize

AppSettings Methods

The AppSettings Type exposes the following members.

Methods
 NameDescription of the
Public MethodDispose Public method for cleaning up.
(Inherited from BasicAppSettings)
Public MethodGetLoadedAssemblies Returns a dictionary that is used for all assemblies loaded in the application. contains the FullName and the assembly. Can be helpful for troubleshooting in certain cases.
Note: If the switch "DumpLoadedAssemblies" = true, the keys of this dictionary (FullName) are logged in "Dispose".
(Inherited from BasicAppSettings)
Public MethodGetParametersSources Returns a dictionary containing the name of the source for each parameter. Can be helpful for troubleshooting in certain cases.
Note: If the switch "DumpAppSettings" = true, this dictionary is logged in "Dispose".
(Inherited from BasicAppSettings)
Public MethodStatic MemberGetResolvedPath Resolves the transferred path taking into account the search sequence into a secured path, if possible.
Public MethodGetStringValue Returns exactly one value for a key. If there is no value for the key, defaultValue is returned.
(Inherited from BasicAppSettings)
Public MethodGetStringValues Returns a string array for a key. If there is no value for the key, defaultValue is returned.
(Inherited from BasicAppSettings)
Public MethodGetValueT Returns exactly one value for a key. If there is no value for the key, defaultValue is returned. Wildcards of the form %Name% are replaced recursively if possible; An attempt is made to cast the determined string value to the return type T.
(Inherited from BasicAppSettings)
Public MethodGetValuesT NOT IMPLEMENTED! Returns an array of values for a key. If there is no value for the key, defaultValue is returned. Wildcards of the form %Name% are replaced recursively if possible; An attempt is made to cast the determined string value to the return type T.
(Inherited from BasicAppSettings)
Public MethodInitUserParameterReader routine, which sets the ParameterReader according to the parameters previously defined in UserParameterReaderPath is initialized. Depending on the UserParameterReader, this process may take longer and is therefore not executed automatically here, but must be externally and preferably directly after instantiation.
Public MethodLoadSettings Loads the system settings during Initialization or loads them again on request.
(Overwrites BasicAppSettingsLoadSettings)
Public MethodRegisterUserStringValueGetter Registers the transferred IGetStringValue instance (UserParameterReader) for the contained AppEnvReader. The new getter is used in the evaluation chain directly behind CommandLineAccess, which gives it (after the command line) the highest priority.
Public MethodReplaceWildcards Replaces wildcards defined here with their runtime values: '%HOME%': '...bin\Debug'.
(Overwrites BasicAppSettingsReplaceWildcards(String))
Public MethodSetRegistryBasePath Sets the registry access key for all subsequent accesses to the passed base path, if the passed registryBasePath can be converted error-free into a corresponding equivalent from registry keys.
(Inherited from BasicAppSettings)
Back to the top
See also