Table of Contents

Class CustomObjectWrapper<T>

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

Create instance.

public abstract class CustomObjectWrapper<T> : Disposable, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor where T : class

Type Parameters

T
Inheritance
CustomObjectWrapper<T>
Implements
Derived
Inherited Members
Extension Methods

Constructors

CustomObjectWrapper(T)

Create instance.

protected CustomObjectWrapper(T obj)

Parameters

obj T

Parent chart element or indicator.

Properties

Obj

Parent object.

public T Obj { get; }

Property Value

T

Methods

OnGetEvents()

Get property list from wrapped object.

protected virtual IEnumerable<EventDescriptor> OnGetEvents()

Returns

IEnumerable<EventDescriptor>

OnGetProperties()

Get property list from wrapped object.

protected virtual IEnumerable<PropertyDescriptor> OnGetProperties()

Returns

IEnumerable<PropertyDescriptor>

OnPropertyChanged(string)

Call PropertyChanged event.

protected virtual void OnPropertyChanged(string name)

Parameters

name string

Member name.

ToString()

public override string ToString()

Returns

string

Events

PropertyChanged

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler