Class FlattenedTypeDescriptor
- Namespace
- Ecng.ComponentModel
- Assembly
- Ecng.ComponentModel.dll
Represents a type descriptor that flattens the properties of the specified object.
public class FlattenedTypeDescriptor : Disposable, IDisposable, ICustomTypeDescriptor, INotifyPropertiesChanged, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
FlattenedTypeDescriptor
- Implements
- Inherited Members
- Extension Methods
Constructors
FlattenedTypeDescriptor(object, IEnumerable<(PropertyDescriptor prop, string path)>)
Initializes a new instance of the FlattenedTypeDescriptor class.
public FlattenedTypeDescriptor(object root, IEnumerable<(PropertyDescriptor prop, string path)> descriptors)
Parameters
root
objectThe root instance.
descriptors
IEnumerable<(PropertyDescriptor prop, string path)>The collection of property descriptors with their paths relative to the root object.
Methods
DisposeManaged()
Disposes the managed resources. Override this method to add custom clean up of managed resources.
protected override void DisposeManaged()
Events
PropertiesChanged
public event Action PropertiesChanged
Event Type
PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
Event Type
PropertyChanging
public event PropertyChangingEventHandler PropertyChanging