31 lines
1.5 KiB
Markdown
31 lines
1.5 KiB
Markdown
---
|
|
source_files:
|
|
- Common/DTS.Common/Events/RegionOfInterest/RegionOfInterestChannels/RegionOfInterestChannelsSelectedEvent.cs
|
|
generated_at: "2026-04-17T16:27:35.499903+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "04ae6f47be36fec7"
|
|
---
|
|
|
|
# RegionOfInterestChannels
|
|
|
|
### Purpose
|
|
This module defines a Prism event for publishing and subscribing to region of interest (ROI) channel selection changes. It enables loosely-coupled communication between components when users select channels associated with a specific region of interest, carrying both channel identifiers and names along with context about the consumer.
|
|
|
|
### Public Interface
|
|
|
|
**`RegionOfInterestChannelsSelectedEvent`**
|
|
- Inherits from `PubSubEvent<RegionOfInterestChannelsSelectedEventArgs>`
|
|
- A Prism event type used for pub/sub messaging across the application
|
|
|
|
**`RegionOfInterestChannelsSelectedEventArgs`**
|
|
- Constructor: `RegionOfInterestChannelsSelectedEventArgs(string roiSuffix, string[] selectedChannelNames, long[] selectedChannelIds, object o)`
|
|
- Properties (all read-only):
|
|
- `string RegionOfInterestSuffix` - Suffix identifier for the region of interest
|
|
- `string[] ChannelNames` - Array of selected channel names
|
|
- `long[] ChannelIds` - Array of selected channel IDs
|
|
- `object Consumer` - Reference to the object consuming this selection
|
|
|
|
### Invariants
|
|
- All properties on `RegionOfInterestChannelsSelectedEventArgs` are immutable after construction (private setters).
|
|
- Constructor requires all four parameters; no |