29 lines
1.6 KiB
Markdown
29 lines
1.6 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- DataPRO/Modules/TestSetups/CachedItemsList/View/CachedItemsListView.xaml.cs
|
||
|
|
generated_at: "2026-04-17T16:16:01.850923+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "e33536c2992a264a"
|
||
|
|
---
|
||
|
|
|
||
|
|
# View
|
||
|
|
|
||
|
|
### 1. Purpose
|
||
|
|
This module provides the WPF view implementation for the Cached Items List user interface. It serves as the presentation layer for displaying cached test setup items, implementing the `ICachedItemsListView` interface to ensure compatibility with the system's view-model binding infrastructure. It appears to be a passive view, as significant interaction logic (sorting, mouse handling) is currently commented out.
|
||
|
|
|
||
|
|
### 2. Public Interface
|
||
|
|
* **`CachedItemsListView` (Class)**
|
||
|
|
* **Signature:** `public partial class CachedItemsListView : ICachedItemsListView`
|
||
|
|
* **Constructor:** `public CachedItemsListView()` — Initializes the component by calling `InitializeComponent()`.
|
||
|
|
* **Behavior:** Acts as a code-behind file for a XAML control. It currently exposes no public methods or properties other than the constructor. It contains commented-out private event handlers for `ListViewHeader_Click` and `MouseDoubleClick`.
|
||
|
|
|
||
|
|
### 3. Invariants
|
||
|
|
* The class must always call `InitializeComponent()` upon construction to load the associated XAML.
|
||
|
|
* The view must remain assignable to `ICachedItemsListView` for dependency injection resolution.
|
||
|
|
|
||
|
|
### 4. Dependencies
|
||
|
|
* **Internal/Project:**
|
||
|
|
* `DTS.Common.Interface.TestSetups.CachedItemsList` (specifically `ICachedItemsListView`).
|
||
|
|
* **Framework:**
|
||
|
|
* `System.Windows` (WPF core).
|