[]
Initializes a new instance of the IndexedCollection<T> class.
public IndexedCollection()
Initializes a new instance of the IndexedCollection<T> class that contains elements copied from the specified list.
public IndexedCollection(IList<T> list)
Type | Name | Description |
---|---|---|
IList<T> | list | The collection whose elements are copied to the new instance. |
Initializes a new instance of the IndexedCollection<T> class that contains elements copied from the specified list, and provides a custom PropertyChangeListener<T>.
public IndexedCollection(IList<T> list, PropertyChangeListener<T> itemPropertyChangeListener)
Type | Name | Description |
---|---|---|
IList<T> | list | The collection whose elements are copied to the new instance. |
PropertyChangeListener<T> | itemPropertyChangeListener | The custom PropertyChangeListener<T> to use with the collection. |
This constructor is intended for the rare cases where implementing INotifyPropertyChanged in the class of the elements of the collection is impossible