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

38 lines
2.0 KiB
Markdown

---
source_files:
- DTS Viewer/DTS.Viewer.Reports/DTS.Viewer.PSDReportResults/PSDReportResultsModule.cs
generated_at: "2026-04-17T16:45:15.107658+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "f39c541bd90c3ffa"
---
# PSDReportResultsModule Documentation
## 1. Purpose
This module serves as the Prism module initializer for the PSD Report Results feature within the DTS Viewer application. It is responsible for registering the PSD Report Results view and view model with the Unity dependency injection container, and provides assembly-level metadata (name, image, group, and region) that the main application uses to display and categorize this module as an available component.
---
## 2. Public Interface
### `PSDReportResultsModule`
A Prism `IModule` implementation that handles type registration for the PSD Report Results feature.
| Member | Signature | Description |
|--------|-----------|-------------|
| Constructor | `PSDReportResultsModule(IUnityContainer unityContainer)` | Accepts an `IUnityContainer` instance stored in `_unityContainer`. |
| `Initialize` | `void Initialize()` | Registers `IPSDReportResultsViewModel``PSDReportResultsViewModel` and `IPSDReportResultsView``PSDReportResultsView` mappings with the Unity container. |
| `OnInitialized` | `void OnInitialized(IContainerProvider containerProvider)` | Empty implementation (no logic executed). |
| `RegisterTypes` | `void RegisterTypes(IContainerRegistry containerRegistry)` | Calls `Initialize()` to perform type registration. |
### `PSDReportResultsModuleNameAttribute`
An assembly-level attribute extending `TextAttribute` that provides the module's assembly name.
| Member | Signature | Description |
|--------|-----------|-------------|
| Constructor | `PSDReportResultsModuleNameAttribute()` | Default constructor; sets `AssemblyName` to `AssemblyNames.PSDReportResults.ToString()`. |
| Constructor | `PSDReportResultsModuleNameAttribute(string s)` | Overload accepting a string parameter (