41 lines
2.5 KiB
Markdown
41 lines
2.5 KiB
Markdown
---
|
|
source_files:
|
|
- DataPRO/Modules/InstallerCustomActions/OpenFolder/Properties/Settings.Designer.cs
|
|
- DataPRO/Modules/InstallerCustomActions/OpenFolder/Properties/AssemblyInfo.cs
|
|
- DataPRO/Modules/InstallerCustomActions/OpenFolder/Properties/Resources.Designer.cs
|
|
generated_at: "2026-04-17T16:12:01.658034+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "a01c6cbb539c87e6"
|
|
---
|
|
|
|
# Properties
|
|
|
|
### Purpose
|
|
This module provides the build configuration and resource infrastructure for the `OpenFolder` installer custom action. It exists to support the assembly with application settings and resource management capabilities. The module contains auto-generated designer files for settings and resources, along with assembly metadata, but defines no custom resources of its own.
|
|
|
|
### Public Interface
|
|
|
|
**`Settings` class** (internal sealed, partial)
|
|
- `static Settings Default { get; }` - Returns the synchronized singleton instance of application settings. Inherits from `global::System.Configuration.ApplicationSettingsBase`.
|
|
|
|
**`Resources` class** (internal sealed)
|
|
- `static ResourceManager ResourceManager { get; }` - Returns the cached `ResourceManager` instance for the `OpenFolder.Properties.Resources` resource bundle.
|
|
- `static CultureInfo Culture { get; set; }` - Gets or sets the current thread's `CurrentUICulture` for resource lookups.
|
|
|
|
### Invariants
|
|
- The `Settings` class is a thread-safe singleton via `Synchronized()`.
|
|
- The `Resources.ResourceManager` property lazily initializes exactly once.
|
|
- All classes in this module are `internal` and not accessible outside the assembly.
|
|
- No custom resource strings are defined in `Resources.Designer.cs`; the class provides only infrastructure.
|
|
|
|
### Dependencies
|
|
- **Depends on**: `System.Configuration` (for `ApplicationSettingsBase`), `System.Resources` (for `ResourceManager`), `System.Globalization` (for `CultureInfo`), `System.Windows` (for WPF theme support via `ThemeInfo` attribute).
|
|
- **Depended on by**: The parent `OpenFolder` assembly and any code within that assembly requiring access to settings or localized resources.
|
|
|
|
### Gotchas
|
|
- The `Settings.Designer.cs` and `Resources.Designer.cs` files are auto-generated by Visual Studio tools. Manual changes will be overwritten on regeneration.
|
|
- The `Resources` class exposes no custom string properties, suggesting either the module doesn't require localization or resources are defined elsewhere.
|
|
- The `AssemblyInfo.cs` has an empty `AssemblyDescription` and `AssemblyCompany`, which may need to be populated for production builds.
|
|
|
|
--- |