2.0 KiB
2.0 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |
|---|---|---|---|---|---|
|
2026-04-17T16:15:04.735316+00:00 | zai-org/GLM-5-FP8 | 1 | 8db3a8520eb6d4a3 |
ViewModel
Purpose
This module provides the ViewModel for ISO Settings management, implementing the MVVM pattern with Prism framework support. It coordinates between the view, model, and application infrastructure (event aggregation, region management, dependency injection) to handle ISO code configuration, user notifications, and data persistence.
Public Interface
ISOSettingsViewModel (class) - ViewModel for ISO settings management
- Constructor:
public ISOSettingsViewModel(IISOSettingsView view, IRegionManager regionManager, IEventAggregator eventAggregator, IUnityContainer unityContainer)
Properties:
View(IISOSettingsView) - Gets/sets the associated viewModel(IISOSettingsModel) - Gets/sets the data modelNotificationRequest(InteractionRequest<Notification>) - Request object for showing notificationsConfirmationRequest(InteractionRequest<Confirmation>) - Request object for showing confirmationsISOData(IISOSettingsData) - Gets/sets the ISO settings dataIsDirty(bool) - Indicates if data has unsaved changes (private setter)IsBusy(bool) - Indicates busy state for UI indicatorsIsMenuIncluded(bool) - Indicates if menu is includedIsNavigationIncluded(bool) - Indicates if navigation is includedHeaderInfo(string) - Returns "MainRegion" (read-only)
Methods:
void Cleanup()- Empty implementationTask CleanupAsync()- ReturnsTask.CompletedTaskvoid Initialize()- Empty implementationvoid Initialize(object parameter)- Empty implementationvoid Initialize(object parameter, object model)- Empty implementationTask InitializeAsync()- ReturnsTask.CompletedTaskTask InitializeAsync(object parameter)- ReturnsTask.CompletedTask- `void