Files
DP44/docs/ai/DataPRO/Modules/RegionOfInterest/RegionOfInterestChannels.md
2026-04-17 14:55:32 -04:00

54 lines
2.1 KiB
Markdown

---
source_files:
- DataPRO/Modules/RegionOfInterest/RegionOfInterestChannels/RegionOfInterestChannelsModule.cs
generated_at: "2026-04-17T16:46:24.551803+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "25937c5b07f4de51"
---
# Documentation: RegionOfInterestChannelsModule
## 1. Purpose
This module implements the "Region of Interest Channels" functionality within a modular WPF application built on the Prism framework. It serves as a self-contained plugin that registers its View (`IRegionOfInterestChannelsView`) and ViewModel (`IRegionOfInterestChannelsViewModel`) with the Unity dependency injection container. The module is categorized under the "Prepare" assembly group and provides assembly-level metadata (name and image) for display in the application's main screen module summary.
---
## 2. Public Interface
### `RegionOfInterestChannelsModule`
The main module class implementing `Prism.Modularity.IModule`.
**Constructor:**
```csharp
public RegionOfInterestChannelsModule(Unity.IUnityContainer unityContainer)
```
- Accepts a Unity container instance via constructor injection.
**Methods:**
| Method | Signature | Description |
|--------|-----------|-------------|
| `Initialize` | `public void Initialize()` | Registers `IRegionOfInterestChannelsView``RegionOfInterestChannelsView` and `IRegionOfInterestChannelsViewModel``RegionOfInterestChannelsViewModel` with Unity using `RegisterType`. |
| `OnInitialized` | `public void OnInitialized(IContainerProvider containerProvider)` | Empty implementation (no logic). |
| `RegisterTypes` | `public void RegisterTypes(IContainerRegistry containerRegistry)` | Calls `Initialize()`. |
---
### `RegionOfInterestChannelsModuleNameAttribute`
Assembly-level attribute providing the module's name. Inherits from `TextAttribute`.
**Constructors:**
```csharp
public RegionOfInterestChannelsModuleNameAttribute()
public RegionOfInterestChannelsModuleNameAttribute(string s)
```
- The `string s` parameter is accepted but unused.
**Properties:**
| Property | Return Type | Value |
|----------|-------------|-------|
| `AssemblyName` (override) | `