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

1.5 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DTS Viewer/DTS.Viewer.Modules/DTS.Viewer.Graph/GraphModule.cs
2026-04-17T16:45:33.522591+00:00 zai-org/GLM-5-FP8 1 203ebb9274cae2d1

Documentation: DTS.Viewer.Graph Module

1. Purpose

The GraphModule is a Prism module responsible for registering graph-related views and view models with the Unity dependency injection container in the DTS Viewer application. It serves as the composition root for the Graph subsystem, wiring up the IGraphView/GraphView and ITestDataSeriesView/TestDataSeriesView pairs with their respective view models. The module also defines assembly-level metadata attributes (GraphNameAttribute and GraphImageAttribute) that expose the module's name, image icon, group classification, and region assignment for consumption by the main application shell.


2. Public Interface

GraphModule Class

Implements: Prism.Modularity.IModule

Member Signature Description
Constructor GraphModule(IUnityContainer unityContainer) Accepts a Unity container via dependency injection and stores it in _unityContainer.
RegisterTypes void RegisterTypes(IContainerRegistry containerRegistry) Calls Initialize() to perform type registrations.
OnInitialized void OnInitialized(IContainerProvider containerProvider) Empty implementation; no post-initialization logic executed.
Initialize void Initialize() Registers view/view-model