FlattenedTypeDescriptor

Ecng.ComponentModel

Represents a type descriptor that flattens the properties of the specified object.

Herda de: Disposable

Implementa: ICustomTypeDescriptor, INotifyPropertiesChanged, INotifyPropertyChanged, INotifyPropertyChanging

Construtores

FlattenedTypeDescriptor
public FlattenedTypeDescriptor(object root, IEnumerable<ValueTuple<PropertyDescriptor, string>> descriptors)
flattenedTypeDescriptor = FlattenedTypeDescriptor(root, descriptors)

Initializes a new instance of the FlattenedTypeDescriptor class.

root
The root instance.
descriptors
The collection of property descriptors with their paths relative to the root object.

Métodos

DisposeManaged
protected override void DisposeManaged()
flattenedTypeDescriptor.DisposeManaged()

Disposes the managed resources. Override this method to add custom clean up of managed resources.

Eventos

PropertiesChanged
public event Action PropertiesChanged
flattenedTypeDescriptor.PropertiesChanged += handler

PropertiesChanged.

PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
flattenedTypeDescriptor.PropertyChanged += handler

PropertyChanged.

PropertyChanging
public event PropertyChangingEventHandler PropertyChanging
flattenedTypeDescriptor.PropertyChanging += handler

PropertyChanging.