Table of Contents

Class ObservableAsset

Namespace
Tudormobile.IronLedgerLib.UI
Assembly
Tudormobile.IronLedgerLib.UI.dll

Represents an observable asset that exposes system, memory, disk, and processor data for monitoring or data binding scenarios.

public class ObservableAsset : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
ObservableAsset
Implements
Inherited Members

Constructors

ObservableAsset(AssetId, ComponentData?, IEnumerable<ComponentData>?, IEnumerable<ComponentData>?, IEnumerable<ComponentData>?)

Initializes a new instance of the ObservableAsset class with the specified asset identifier and component data collections.

public ObservableAsset(AssetId assetId, ComponentData? systemData = null, IEnumerable<ComponentData>? diskData = null, IEnumerable<ComponentData>? memoryData = null, IEnumerable<ComponentData>? processorData = null)

Parameters

assetId AssetId

The unique identifier for the asset to be observed.

systemData ComponentData

(Optional) The component data representing system-level information for the asset.

diskData IEnumerable<ComponentData>

(Optional) A collection of component data representing disk-related information for the asset.

memoryData IEnumerable<ComponentData>

(Optional) A collection of component data representing memory-related information for the asset.

processorData IEnumerable<ComponentData>

(Optional) A collection of component data representing processor-related information for the asset.

Properties

AssetId

Gets the unique identifier for the associated asset.

public AssetId AssetId { get; init; }

Property Value

AssetId

Disks

[ObservableProperty]
public ObservableDiskData Disks { get; set; }

Property Value

ObservableDiskData

Memory

[ObservableProperty]
public ObservableMemoryData Memory { get; set; }

Property Value

ObservableMemoryData

Processors

[ObservableProperty]
public ObservableProcessorData Processors { get; set; }

Property Value

ObservableProcessorData

System

[ObservableProperty]
public ObservableSystemData System { get; set; }

Property Value

ObservableSystemData