2.4 KiB
2.4 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T16:28:42.805400+00:00 | zai-org/GLM-5-FP8 | 1 | 798fca9d3593b72e |
Properties
Purpose
This module provides assembly-level metadata and application/user settings configuration for the DatabaseImport assembly. It defines persistent configuration values including download paths, auto-arm permissions, calibration warning periods, database type selection, and ISO export compatibility requirements.
Public Interface
Settings (sealed partial class, internal)
public static Settings Default { get; }— Singleton instance accessor returning synchronized settings.public string DownloadFolder { get; }— Application-scoped setting, default value"..\\Data".public bool AllowAutoArm { get; }— Application-scoped setting, default valuefalse.public int CalWarningPeriodDays { get; set; }— User-scoped setting, default value7.public int DBType { get; }— Application-scoped setting, default value1.public bool RequireXCrashCompatibilityForISOExports { get; }— Application-scoped setting, default valuetrue.
Invariants
Settingsinherits fromSystem.Configuration.ApplicationSettingsBaseand uses thread synchronization viaSynchronized().- Application-scoped settings (
DownloadFolder,AllowAutoArm,DBType,RequireXCrashCompatibilityForISOExports) are read-only at runtime. - User-scoped settings (
CalWarningPeriodDays) can be modified and persisted. - The class is auto-generated by
SettingsSingleFileGenerator; manual changes will be overwritten.
Dependencies
- Depends on:
System.Configuration.ApplicationSettingsBase,System.Runtime.CompilerServices,System.CodeDom.Compiler. - Depended on by: Unclear from source alone; likely consumed throughout the DatabaseImport assembly for configuration access.
Gotchas
DownloadFolderuses a relative path"..\\Data"; the actual location depends on the working directory at runtime.DBTypeis an integer (default1); the mapping of integer values to database types is not defined in this source.- The
CalWarningPeriodDaysis user-scoped, meaning it can vary per user profile; other settings are application-wide.