NotifyingCollection<T> Members

Constructors

Name Description
NotifyingCollection()

Initializes a new instance of the NotifyingCollection<T> class

Methods

Name Description
AddRange(IEnumerable<T>)

Adds items from the specified collection to the current collection.

AddRange(T[])

Adds the specified items to the collection.

BeginUpdate()

Locks updates of the NotifyingCollection<T> until the NotifyingCollection`1.EndUpdate method call.

Contains(Predicate<T>)

Determines whether the collection contains an item that matches the specified predicate.

EndUpdate()

Unlocks the NotifyingCollection<T>.

FindFirst(Predicate<T>)

Returns the first item that matches the specified predicate.

ForEach(Action<T>)

Performs the specified action on each element of the current collection.

RemoveRange(IEnumerable<T>)

Removes items in the specified collection from the current collection.

RemoveRange(T[])

Removes the specified items from the collection.

ToArray()

Returns the elements of the NotifyingCollection<T> collection as an array.

Events

Name Description
BeforeItemAdded

Occurs before items are added to the collection.

CollectionChanged

Occurs after items are added to or removed from the collection