[]
        
(Showing Draft Content)

C1.LiveLinq.Collections.IndexedCollection-1.-ctor

IndexedCollection Constructor

IndexedCollection()

Initializes a new instance of the IndexedCollection<T> class.

Declaration
public IndexedCollection()

IndexedCollection(IList<T>)

Initializes a new instance of the IndexedCollection<T> class that contains elements copied from the specified list.

Declaration
public IndexedCollection(IList<T> list)
Parameters
Type Name Description
IList<T> list

The collection whose elements are copied to the new instance.

IndexedCollection(IList<T>, PropertyChangeListener<T>)

Initializes a new instance of the IndexedCollection<T> class that contains elements copied from the specified list, and provides a custom PropertyChangeListener<T>.

Declaration
public IndexedCollection(IList<T> list, PropertyChangeListener<T> itemPropertyChangeListener)
Parameters
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.

Remarks

This constructor is intended for the rare cases where implementing INotifyPropertyChanged in the class of the elements of the collection is impossible