Files
DP44/docs/ai/Common/DTS.Common/Interface/DTS.Viewer/TestSummary.md

40 lines
1.9 KiB
Markdown
Raw Normal View History

2026-04-17 14:55:32 -04:00
---
source_files:
- Common/DTS.Common/Interface/DTS.Viewer/TestSummary/ITestSummaryListView.cs
- Common/DTS.Common/Interface/DTS.Viewer/TestSummary/ITestSummaryListViewModel.cs
- Common/DTS.Common/Interface/DTS.Viewer/TestSummary/ITestSummary.cs
generated_at: "2026-04-17T16:35:54.965034+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "86cadf2a62297314"
---
# Documentation: Test Summary Interfaces
## 1. Purpose
This module defines the contract for displaying and managing a list of test summaries within the DTS Viewer application. It follows a Model-View-ViewModel (MVVM) pattern, providing `ITestSummaryListView` (the view abstraction), `ITestSummaryListViewModel` (the presentation logic), and `ITestSummary` (the data model for individual test summaries). The module exists to decouple the UI layer from business logic and to provide a standardized way to interact with test summary data, including selection management and collection change notifications.
---
## 2. Public Interface
### `ITestSummaryListView`
**Namespace:** `DTS.Common.Interface`
**Inherits:** `IBaseView`
A marker interface representing the view component for the test summary list. No members are defined beyond those inherited from `IBaseView`.
---
### `ITestSummaryListViewModel`
**Namespace:** `DTS.Common.Interface`
**Inherits:** `IBaseViewModel`
| Member | Type | Description |
|--------|------|-------------|
| `View` | `ITestSummaryListView` (read-only) | Gets the Shell View associated with this ViewModel. |
| `TestSummaryList` | `ObservableCollection<ITestSummary>` | Observable collection of test summaries displayed in the list. Supports get and set. |
| `SelectedTestSummaryList` | `List<ITestSummary>` | List of currently selected test summaries. Supports get and set. |
| `PublishSelectedTestSummaryList()` | `void` | Publishes the currently selected test summaries (destination/mechanism not specified in interface). |
| `TestSummaryList_CollectionChanged(object sender