Click or drag to resize
DigitalRuneSynchronizedNotifyingCollection<T> Class
Represents a collection of objects that sends notifications (events) when the collection is modified where access is thread-safe. (Not available on these platforms: Silverlight, Windows Phone 7, Xbox 360)
Inheritance Hierarchy
System.Object
  System.Collections.ObjectModel.Collection<T>
    DigitalRune.Collections.SynchronizedNotifyingCollection<T>

Namespace: DigitalRune.Collections
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public class SynchronizedNotifyingCollection<T> : Collection<T>

Type Parameters

T
The type of elements in the collection.

The SynchronizedNotifyingCollection< T> type exposes the following members.

Constructors
  NameDescription
Public methodSynchronizedNotifyingCollection<T>()
Initializes a new instance of the SynchronizedNotifyingCollection< T> class.
Public methodSynchronizedNotifyingCollection<T>(Boolean, Boolean)
Initializes a new instance of the SynchronizedNotifyingCollection< T> class with the given settings.
Top
Methods
  NameDescription
Public methodAdd (Inherited from Collection<T>.)
Public methodClear (Inherited from Collection<T>.)
Protected methodClearItems (Overrides Collection<T>.ClearItems().)
Public methodContains (Inherited from Collection<T>.)
Public methodCopyTo (Inherited from Collection<T>.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the SynchronizedNotifyingCollection<T>.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from Collection<T>.)
Public methodInsert (Inherited from Collection<T>.)
Protected methodInsertItem (Overrides Collection<T>.InsertItem(Int32, T).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the item at the specified index to a new location in the collection.
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
Protected methodOnCollectionChanged
Raises the CollectionChanged event.
Public methodRemove (Inherited from Collection<T>.)
Public methodRemoveAt (Inherited from Collection<T>.)
Protected methodRemoveItem (Overrides Collection<T>.RemoveItem(Int32).)
Protected methodSetItem
Replaces the element at the specified index.
(Overrides Collection<T>.SetItem(Int32, T).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyAllowDuplicates
Gets or sets a value indicating whether duplicate items are allowed in the collection.
Public propertyAllowNull
Gets or sets a value indicating whether null items are allowed in the collection.
Public propertyCount (Inherited from Collection<T>.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from Collection<T>.)
Protected propertyItems (Inherited from Collection<T>.)
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when items were added, replaced or removed.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIList.Add
Adds an item to the IList.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIList.Contains
Determines whether the IList contains a specific value.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodICollection.CopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIEnumerable.GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIList.IndexOf
Determines the index of a specific item in the IList.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIList.Insert
Inserts an item into the IList at the specified index.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyIList.IsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyICollection<T>.IsReadOnly (Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyIList.IsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyICollection.IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyIList.Item
Gets or sets the element at the specified index.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIList.Remove
Removes the first occurrence of a specific object from the IList.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyICollection.SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from Collection<T>.)
Top
Remarks
This type is not available on the following platforms: Silverlight, Windows Phone 7/8, Xbox 360
See Also