41 lines
2.0 KiB
Markdown
41 lines
2.0 KiB
Markdown
---
|
|
source_files:
|
|
- DTS Viewer/DTS.Viewer.Loader/Properties/Settings.Designer.cs
|
|
- DTS Viewer/DTS.Viewer.Loader/Properties/AssemblyInfo.cs
|
|
- DTS Viewer/DTS.Viewer.Loader/Properties/Resources.Designer.cs
|
|
generated_at: "2026-04-17T16:11:52.544183+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "90fb80f104407c0f"
|
|
---
|
|
|
|
# Properties
|
|
|
|
### 1. Purpose
|
|
This module provides the assembly metadata and configuration settings for the `DTS.Viewer.Loader` assembly. It specifically defines a path for a `PluginFolder`, indicating that this assembly is likely responsible for loading external modules or runtime components from a relative directory path.
|
|
|
|
### 2. Public Interface
|
|
**Class: `Settings`** (in `Settings.Designer.cs`)
|
|
* `public static Settings Default { get; }`: Singleton instance accessor.
|
|
* `public string PluginFolder { get; }`: An application-scoped setting containing the relative path `"../../../../RunTimeModules"`.
|
|
|
|
**Class: `Resources`** (in `Resources.Designer.cs`)
|
|
* `internal static global::System.Resources.ResourceManager ResourceManager { get; }`: Accessor for the resource manager.
|
|
* `internal static global::System.Globalization.CultureInfo Culture { get; set; }`: Accessor for the current UI culture.
|
|
|
|
**Assembly Attributes** (in `AssemblyInfo.cs`)
|
|
* `AssemblyTitle`: "DTS.Viewer.Loader"
|
|
* `AssemblyCompany`: "Diversified Technical Systems, Inc. (DTS)"
|
|
|
|
### 3. Invariants
|
|
* The `PluginFolder` property is read-only (Application-scoped) and defaults to `"../../../../RunTimeModules"`.
|
|
* The `Resources` class is strictly internal to the assembly.
|
|
|
|
### 4. Dependencies
|
|
* **Depends on**: `System.Configuration`, `System.Resources`.
|
|
* **Depended on by**: The `DTS.Viewer.Loader` logic (for locating plugins).
|
|
|
|
### 5. Gotchas
|
|
* The `PluginFolder` path uses a relative path syntax (`../../../../RunTimeModules`). The actual resolved path depends entirely on the current working directory of the process when the setting is read, which may lead to failures if the application is launched from an unexpected location.
|
|
|
|
--- |