This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
---
source_files:
- DTS Viewer/DTS.Viewer.Modules/DTS.Viewer.Graph/GraphModule.cs
generated_at: "2026-04-17T16:45:33.522591+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "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