FlattenedTypeDescriptor
Ecng.ComponentModel
Represents a type descriptor that flattens the properties of the specified object.
継承元: Disposable
実装: ICustomTypeDescriptor, INotifyPropertiesChanged, INotifyPropertyChanged, INotifyPropertyChanging
コンストラクター
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.
メソッド
DisposeManaged
protected override void DisposeManaged()
flattenedTypeDescriptor.DisposeManaged()
Disposes the managed resources. Override this method to add custom clean up of managed resources.
イベント
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.