2.1 KiB
2.1 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T16:11:57.316727+00:00 | zai-org/GLM-5-FP8 | 1 | cfdd9801dd7a1dcf |
View
Purpose
This module provides WPF view components for graph list functionality, specifically for displaying and exporting graphs. Both views implement a pattern of suppressing the ApplicationCommands.Undo command by adding a CommandBinding that marks the command as handled. This prevents undo operations from propagating in these views.
Public Interface
ExportGraphMainView (implements IExportGraphMainView)
ExportGraphMainView()- Constructor that callsInitializeComponent()and adds aCommandBindingforApplicationCommands.Undo. Both theExecuteandCanExecutehandlers sete.Handled = truewith no other action.
GraphMainView (implements IGraphMainView)
GraphMainView()- Constructor that callsInitializeComponent()and adds aCommandBindingforApplicationCommands.Undo. Both theExecuteandCanExecutehandlers sete.Handled = true. Contains commented-out code for focusingTvTestChannelsand checkingroot.IsChecked.
Invariants
- Both views unconditionally suppress
ApplicationCommands.Undoby handling it without action. - The
CanExecutehandler does not sete.CanExecute, onlye.Handled.
Dependencies
Depends on:
DTS.Common.Interface(IExportGraphMainView,IGraphMainView)System.Windows.Input(CommandBinding,ApplicationCommands)
Depended on by: Not determinable from source alone.
Gotchas
- Undo suppression pattern: Both views suppress undo without any conditional logic. This may interfere with expected user behavior if undo is needed elsewhere in the application.
- Commented-out code in GraphMainView: References to
root.IsCheckedandTvTestChannels.Focus()suggest incomplete or removed functionality. - Namespace suppression: ReSharper disable comments indicate potential namespace convention violations.