Files
2026-04-17 14:55:32 -04:00

1.6 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
Common/DTS.Common.Property/ViewModel/PropertyViewModel.cs
2026-04-17T16:10:18.441707+00:00 zai-org/GLM-5-FP8 1 c44efa392e4e3d7a

ViewModel

Purpose

This module provides PropertyViewModel, a view model for displaying and managing graph property views. It integrates with the Prism framework for event aggregation, region management, and interaction requests (notifications/confirmations). It acts as a bridge between property views and the broader application infrastructure.

Public Interface

  • PropertyViewModel (class)

    • Inherits from: BaseViewModel<IGraphPropertyViewModel>, implements IPropertyViewModel

    Constructor:

    • PropertyViewModel(IPropertyView view, IRegionManager regionManager, IEventAggregator eventAggregator, IUnityContainer unityContainer) - Initializes the view model, sets up the view's DataContext, creates interaction requests, and subscribes to RaiseNotification events.

    Properties:

    • IPropertyView View { get; } - Gets the associated view instance.
    • InteractionRequest<Notification> NotificationRequest { get; } - Interaction request for displaying notifications.
    • InteractionRequest<Confirmation> ConfirmationRequest { get; } - Interaction request for displaying confirmations.
    • object Properties { get; set; } - Gets or sets the properties object. Raises PropertyChanged event when set.
    • string HeaderInfo { get; } - Returns the constant string "Graph Property".
    • bool IsBusy { get; set; } - Throws NotImplementedException