Files
DP44/docs/ai/Common/DTS.Common/obj/x86/Debug/Constant.md
2026-04-17 14:55:32 -04:00

1.9 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
Common/DTS.Common/obj/x86/Debug/Constant/XamlConstants.g.cs
Common/DTS.Common/obj/x86/Debug/Constant/XamlConstants.g.i.cs
2026-04-17T16:06:29.966598+00:00 zai-org/GLM-5-FP8 1 7a7d1b0bdbc47736

Constant

Purpose

This module contains auto-generated WPF code-behind for XamlConstants, a ResourceDictionary implementation. It represents compiled XAML resources defined in Constant/XamlConstants.xaml, providing centralized access to XAML-level constants (styles, templates, brushes, etc.) across the application. This is build infrastructure output.

Public Interface

  • XamlConstants (class) - Partial class extending System.Windows.ResourceDictionary and implementing System.Windows.Markup.IComponentConnector.
    • void InitializeComponent() - Loads the XAML resource dictionary from /DTS.Common;component/constant/xamlconstants.xaml. Guards against multiple initialization.
    • void IComponentConnector.Connect(int connectionId, object target) - Explicit interface implementation. Sets _contentLoaded = true with no additional connection logic.

Invariants

  • Must be loaded as a ResourceDictionary in WPF resource merging scenarios.
  • The XAML file at the specified relative URI must be embedded in the DTS.Common assembly.

Dependencies

  • Depends on: System.Windows.ResourceDictionary, System.Windows.Markup.IComponentConnector, Microsoft.Windows.Controls.
  • Depended on by: Cannot be determined from generated code alone; likely merged into application or window resources for global constant access.

Gotchas

  • This is auto-generated code. Do not edit manually.
  • The presence of Microsoft.Windows.Controls using directive suggests the XAML may reference controls from that namespace, but actual resource contents are not visible in generated code.
  • Both .g.cs and .g.i.cs files are identical, indicating intermediate build artifacts.