Files
DP44/docs/ai/DataPRO/Modules/SystemSettings/ISOSettings/ViewModel.md
2026-04-17 14:55:32 -04:00

2.0 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/Modules/SystemSettings/ISOSettings/ViewModel/ISOSettingsViewModel.cs
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 view
  • Model (IISOSettingsModel) - Gets/sets the data model
  • NotificationRequest (InteractionRequest<Notification>) - Request object for showing notifications
  • ConfirmationRequest (InteractionRequest<Confirmation>) - Request object for showing confirmations
  • ISOData (IISOSettingsData) - Gets/sets the ISO settings data
  • IsDirty (bool) - Indicates if data has unsaved changes (private setter)
  • IsBusy (bool) - Indicates busy state for UI indicators
  • IsMenuIncluded (bool) - Indicates if menu is included
  • IsNavigationIncluded (bool) - Indicates if navigation is included
  • HeaderInfo (string) - Returns "MainRegion" (read-only)

Methods:

  • void Cleanup() - Empty implementation
  • Task CleanupAsync() - Returns Task.CompletedTask
  • void Initialize() - Empty implementation
  • void Initialize(object parameter) - Empty implementation
  • void Initialize(object parameter, object model) - Empty implementation
  • Task InitializeAsync() - Returns Task.CompletedTask
  • Task InitializeAsync(object parameter) - Returns Task.CompletedTask
  • `void