init
This commit is contained in:
21
docs/ai/DataPRO/Modules/StatusAndProgressBar/Properties.md
Normal file
21
docs/ai/DataPRO/Modules/StatusAndProgressBar/Properties.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
source_files:
|
||||
- DataPRO/Modules/StatusAndProgressBar/Properties/AssemblyInfo.cs
|
||||
generated_at: "2026-04-17T16:15:25.516145+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "4dece7ac39ee25ec"
|
||||
---
|
||||
|
||||
# Properties
|
||||
|
||||
### Purpose
|
||||
This module contains assembly-level metadata for the `StatusAndProgressBar` assembly. It is a standard .NET Framework assembly information file that defines versioning, copyright, and COM visibility settings. It contains no executable logic.
|
||||
|
||||
### Public Interface
|
||||
This module exposes no public types or functions. It only contains assembly-level attributes:
|
||||
|
||||
- **`AssemblyTitle`**: "StatusAndProgressBar"
|
||||
- **`AssemblyDescription`**: Empty
|
||||
- **`AssemblyCompany`**: Empty
|
||||
- **`AssemblyProduct`
|
||||
47
docs/ai/DataPRO/Modules/StatusAndProgressBar/View.md
Normal file
47
docs/ai/DataPRO/Modules/StatusAndProgressBar/View.md
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
source_files:
|
||||
- DataPRO/Modules/StatusAndProgressBar/View/StatusAndProgressBarView.xaml.cs
|
||||
- DataPRO/Modules/StatusAndProgressBar/View/StatusAndProgressFooterView.xaml.cs
|
||||
generated_at: "2026-04-17T16:45:11.193049+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "681fee810ebd307b"
|
||||
---
|
||||
|
||||
# Documentation: StatusAndProgressBar Views
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module provides WPF view components for displaying status information and progress indicators within the DTS application. It contains two code-behind files for XAML views: `StatusAndProgressBarView` and `StatusAndProgressFooterView`. These views serve as UI components likely used to display operational status and progress feedback to users, with the "Footer" variant suggesting placement in a footer region of the application shell.
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `StatusAndProgressBarView` (class)
|
||||
- **Namespace:** `DTS.StatusAndProgressBar`
|
||||
- **Implements:** `IStatusAndProgressBarView`
|
||||
- **Constructor:** `public StatusAndProgressBarView()` — Initializes the WPF component via `InitializeComponent()`.
|
||||
|
||||
### `StatusAndProgressFooterView` (class)
|
||||
- **Namespace:** `DTS.StatusAndProgressBar`
|
||||
- **Implements:** `IStatusAndProgressFooterView`
|
||||
- **Constructor:** `public StatusAndProgressFooterView()` — Initializes the WPF component via `InitializeComponent()`.
|
||||
|
||||
## 3. Invariants
|
||||
|
||||
- Both classes are `partial`, indicating they are code-behind files paired with corresponding XAML files (`StatusAndProgressBarView.xaml` and `StatusAndProgressFooterView.xaml`) that define the UI structure.
|
||||
- Both classes implement marker interfaces (`IStatusAndProgressBarView` and `IStatusAndProgressFooterView`), suggesting they are designed for dependency injection or view resolution patterns.
|
||||
- The `InitializeComponent()` method must be called upon instantiation; this is guaranteed by the constructor implementation.
|
||||
|
||||
## 4. Dependencies
|
||||
|
||||
**This module depends on:**
|
||||
- `DTS.Common.Interface` — Provides the interfaces `IStatusAndProgressBarView` and `IStatusAndProgressFooterView` that these views implement.
|
||||
|
||||
**What depends on this module:**
|
||||
- Not determinable from the source files alone. The consumers would be whatever components resolve or instantiate these views (likely a main shell, region manager, or DI container).
|
||||
|
||||
## 5. Gotchas
|
||||
|
||||
- **Namespace/folder mismatch:** Both files include `// ReSharper disable CheckNamespace`, indicating the namespace `DTS.StatusAndProgressBar` does not match the expected namespace based on folder structure (`DataPRO/Modules/StatusAndProgressBar/View/`). This may cause confusion when navigating or refactoring.
|
||||
- **Actual UI logic is in XAML:** These are code-behind files with no additional logic beyond initialization. The actual visual elements, bindings, and behaviors are defined in the corresponding `.xaml` files, which are not provided here.
|
||||
- **Interface contracts unknown:** The specific members or contracts defined by `IStatusAndProgressBarView` and `IStatusAndProgressFooterView` are not visible in these source files; refer to `DTS.Common.Interface` for interface definitions.
|
||||
34
docs/ai/DataPRO/Modules/StatusAndProgressBar/ViewModel.md
Normal file
34
docs/ai/DataPRO/Modules/StatusAndProgressBar/ViewModel.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
source_files:
|
||||
- DataPRO/Modules/StatusAndProgressBar/ViewModel/StatusAndProgressFooterViewModel.cs
|
||||
- DataPRO/Modules/StatusAndProgressBar/ViewModel/StatusAndProgressBarViewModel.cs
|
||||
generated_at: "2026-04-17T15:59:09.942314+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "c9d1783e08ad7d07"
|
||||
---
|
||||
|
||||
# Documentation: StatusAndProgressBar Module
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module provides ViewModel implementations for status and progress bar UI components within a WPF/Prism-based application. It contains two distinct ViewModels: `StatusAndProgressFooterViewModel` for a footer-level progress indicator, and `StatusAndProgressBarViewModel` for contextual status/progress displays. Both classes subscribe to pub/sub events (`ProgressBarEvent` and `StatusAndProgressBarEvent`) to receive updates from decoupled components, exposing bindable properties for progress text, value, and visibility to their associated views.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### StatusAndProgressFooterViewModel
|
||||
|
||||
**Signature:** `public class StatusAndProgressFooterViewModel : BaseViewModel<IStatusAndProgressBarFooterViewModel>, IStatusAndProgressBarFooterViewModel`
|
||||
|
||||
| Member | Signature | Description |
|
||||
|--------|-----------|-------------|
|
||||
| Constructor | `StatusAndProgressFooterViewModel(IStatusAndProgressFooterView view, IRegionManager regionManager, IEventAggregator eventAggregator, IUnityContainer unityContainer)` | Initializes the ViewModel, sets the View's DataContext, creates interaction requests, and subscribes to `ProgressBarEvent`. |
|
||||
| View | `IStatusAndProgressFooterView` | Gets or sets the associated view interface. |
|
||||
| Parent | `IBaseViewModel` | Gets or sets the parent ViewModel. |
|
||||
| NotificationRequest | `InteractionRequest<Notification>` | Gets the notification interaction request. |
|
||||
| ConfirmationRequest | `InteractionRequest<Confirmation>` | Gets the confirmation interaction request. |
|
||||
| IsMenuIncluded | `bool` | Gets or sets menu inclusion flag (hides base member). |
|
||||
| IsNavigationIncluded | `bool` | Gets or sets navigation inclusion flag (hides base member). |
|
||||
| IsBusy
|
||||
Reference in New Issue
Block a user