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
assetIdAssetIdThe unique identifier for the asset to be observed.
systemDataComponentData(Optional) The component data representing system-level information for the asset.
diskDataIEnumerable<ComponentData>(Optional) A collection of component data representing disk-related information for the asset.
memoryDataIEnumerable<ComponentData>(Optional) A collection of component data representing memory-related information for the asset.
processorDataIEnumerable<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
Disks
[ObservableProperty]
public ObservableDiskData Disks { get; set; }
Property Value
Memory
[ObservableProperty]
public ObservableMemoryData Memory { get; set; }
Property Value
Processors
[ObservableProperty]
public ObservableProcessorData Processors { get; set; }
Property Value
System
[ObservableProperty]
public ObservableSystemData System { get; set; }