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

2.1 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/Modules/RegionOfInterest/RegionOfInterestChannels/RegionOfInterestChannelsModule.cs
2026-04-17T16:46:24.551803+00:00 zai-org/GLM-5-FP8 1 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:

public RegionOfInterestChannelsModule(Unity.IUnityContainer unityContainer)
  • Accepts a Unity container instance via constructor injection.

Methods:

Method Signature Description
Initialize public void Initialize() Registers IRegionOfInterestChannelsViewRegionOfInterestChannelsView and IRegionOfInterestChannelsViewModelRegionOfInterestChannelsViewModel 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:

public RegionOfInterestChannelsModuleNameAttribute()
public RegionOfInterestChannelsModuleNameAttribute(string s)
  • The string s parameter is accepted but unused.

Properties:

Property Return Type Value
AssemblyName (override) `