Files
DP44/docs/ai/DTS Viewer/DTS.Viewer/Properties.md
2026-04-17 14:55:32 -04:00

2.3 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DTS Viewer/DTS.Viewer/Properties/Settings.Designer.cs
DTS Viewer/DTS.Viewer/Properties/AssemblyInfo.cs
DTS Viewer/DTS.Viewer/Properties/Resources.Designer.cs
2026-04-17T16:11:52.542617+00:00 zai-org/GLM-5-FP8 1 756efe4e3038db08

Properties

1. Purpose

This module contains the assembly-level configuration and auto-generated code for the DTS.Viewer assembly. It defines the application's identity, version information, and provides strongly-typed access to application settings and localized resources via the Properties namespace. It serves as the configuration backbone for the DTS Viewer application.

2. Public Interface

Class: Settings (in Settings.Designer.cs)

  • public static Settings Default { get; }: Provides access to the singleton instance of the application settings wrapper.

Class: Resources (in Resources.Designer.cs)

  • internal static global::System.Resources.ResourceManager ResourceManager { get; }: Returns the cached resource manager instance used for looking up localized strings.
  • internal static global::System.Globalization.CultureInfo Culture { get; set; }: Gets or sets the current UI culture for resource lookups.

Assembly Attributes (in AssemblyInfo.cs)

  • AssemblyTitle: "DTS.Viewer"
  • AssemblyCompany: "Diversified Technical Systems, Inc. (DTS)"
  • AssemblyVersion: "1.0.0.0"
  • AssemblyFileVersion: "1.0.0.0"

3. Invariants

  • The Settings class is a sealed, singleton wrapper inheriting from ApplicationSettingsBase.
  • The Resources class is auto-generated and intended for internal access only (internal class).
  • Files Settings.Designer.cs and Resources.Designer.cs are marked with GeneratedCodeAttribute; manual changes will be overwritten by tooling.

4. Dependencies

  • Depends on: System.Configuration (for ApplicationSettingsBase), System.Resources (for ResourceManager), System.Runtime.CompilerServices, System.CodeDom.Compiler.
  • Depended on by: The main DTS.Viewer application logic (for accessing settings and resources).

5. Gotchas

  • None identified from source alone, other than the standard warning that designer files should not be manually edited.