Click or drag to resize
DigitalRuneSynchronizedNotifyingCollectionT 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
SystemObject
  System.Collections.ObjectModelCollectionT
    DigitalRune.CollectionsSynchronizedNotifyingCollectionT

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 SynchronizedNotifyingCollectionT type exposes the following members.

Constructors
  NameDescription
Public methodSynchronizedNotifyingCollectionT
Initializes a new instance of the SynchronizedNotifyingCollectionT class.
Public methodSynchronizedNotifyingCollectionT(Boolean, Boolean)
Initializes a new instance of the SynchronizedNotifyingCollectionT class with the given settings.
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionT.)
Public methodClear (Inherited from CollectionT.)
Protected methodClearItems (Overrides CollectionTClearItems.)
Public methodContains (Inherited from CollectionT.)
Public methodCopyTo (Inherited from CollectionT.)
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 SynchronizedNotifyingCollectionT.
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 CollectionT.)
Public methodInsert (Inherited from CollectionT.)
Protected methodInsertItem (Overrides CollectionTInsertItem(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 CollectionT.)
Public methodRemoveAt (Inherited from CollectionT.)
Protected methodRemoveItem (Overrides CollectionTRemoveItem(Int32).)
Protected methodSetItem
Replaces the element at the specified index.
(Overrides CollectionTSetItem(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 items are allowed in the collection.
Public propertyCount (Inherited from CollectionT.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionT.)
Protected propertyItems (Inherited from CollectionT.)
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when items were added, replaced or removed.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionT.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionT.)
Top
Remarks
This type is not available on the following platforms: Silverlight, Windows Phone 7/8, Xbox 360
See Also