Table of Contents

Class DataModelPropertiesViewModel

Namespace
Artemis.UI.Shared.DataModelVisualization.Shared
Assembly
Artemis.UI.Shared.dll

Represents a view model that visualizes a class (POCO) data model property containing child properties

public class DataModelPropertiesViewModel : DataModelVisualizationViewModel, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IDisposable
Inheritance
object
ReactiveObject
DataModelPropertiesViewModel
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged

Properties

DisplayValue

Gets the value of the property that is being visualized

public object? DisplayValue { get; }

Property Value

object

DisplayValueType

Gets the type of the property that is being visualized

public Type? DisplayValueType { get; }

Property Value

Type

Methods

GetCurrentValue()

Gets the current value of the property being visualized

public override object? GetCurrentValue()

Returns

object

The current value of the property being visualized

GetSearchResults(string)

Gets the search results for the provided search string

public override IEnumerable<DataModelVisualizationViewModel> GetSearchResults(string search)

Parameters

search string

The search string

Returns

IEnumerable<DataModelVisualizationViewModel>

The search results

ToString()

Returns a string that represents the current object.

public override string? ToString()

Returns

string

A string that represents the current object.

Update(IDataModelUIService, DataModelUpdateConfiguration?)

Updates the datamodel and if in an parent, any children

public override void Update(IDataModelUIService dataModelUIService, DataModelUpdateConfiguration? configuration)

Parameters

dataModelUIService IDataModelUIService

The data model UI service used during update

configuration DataModelUpdateConfiguration

The configuration to apply while updating