Click or drag to resize
NotifyListT Class
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionT
    System.Collections.ObjectModelObservableCollectionT
      VirtualRadar.Interface.PortableBindingNotifyListT

Namespace: VirtualRadar.Interface.PortableBinding
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class NotifyList<T> : ObservableCollection<T>, 
	IBindingList, IList, ICollection, IEnumerable, IEnumerable<T>, 
	IRaiseItemChangedEvents

Type Parameters

T

The NotifyListT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowEdit
See interface docs.
Public propertyAllowNew
See interface docs.
Public propertyAllowRemove
See interface docs.
Public propertyCount (Inherited from CollectionT.)
Public propertyIsSorted
See interface docs.
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionT.)
Protected propertyItems (Inherited from CollectionT.)
Public propertyRaiseListChangedEvents
Gets or sets a value indicating whether Add, Insert and Remove raise ListChanged events.
Public propertyRaisesItemChangedEvents
See interface docs.
Public propertySortDirection
See interface docs.
Public propertySortProperty
See interface docs.
Public propertySupportsChangeNotification
See interface docs.
Public propertySupportsSearching
See interface docs.
Public propertySupportsSorting
See interface docs.
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionT.)
Public methodAddIndex
Not implemented.
Public methodAddNew
See interface docs.
Public methodApplySort
Not implemented.
Protected methodBlockReentrancy
Disallows reentrant attempts to change this collection.
(Inherited from ObservableCollectionT.)
Protected methodCheckReentrancy
Checks for reentrant attempts to change this collection.
(Inherited from ObservableCollectionT.)
Public methodClear (Inherited from CollectionT.)
Protected methodClearItems
See base docs.
(Overrides ObservableCollectionTClearItems.)
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 methodFind
Not implemented.
Public methodGetEnumerator (Inherited from CollectionT.)
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
See base docs.
(Overrides ObservableCollectionTInsertItem(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.
(Inherited from ObservableCollectionT.)
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionT.)
Protected methodOnCollectionChanged
Called when the underlying collection is changed.
(Overrides ObservableCollectionTOnCollectionChanged(NotifyCollectionChangedEventArgs).)
Protected methodOnListChanged
Raises ListChanged.
Protected methodOnPropertyChanged
Raises the PropertyChanged event with the provided arguments.
(Inherited from ObservableCollectionT.)
Public methodRemove (Inherited from CollectionT.)
Public methodRemoveAt (Inherited from CollectionT.)
Public methodRemoveIndex
Not implemented.
Protected methodRemoveItem
See base docs.
(Overrides ObservableCollectionTRemoveItem(Int32).)
Public methodRemoveSort
Not implemented.
Protected methodSetItem
See base docs.
(Overrides ObservableCollectionTSetItem(Int32, T).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
(Inherited from ObservableCollectionT.)
Public eventListChanged
See interface docs.
Protected eventPropertyChanged
Occurs when a property value changes.
(Inherited from ObservableCollectionT.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsListT
Obtains the data as a list; if it is *already* a list, the original object is returned without any duplication; otherwise, ToList() is invoked.
(Defined by SqlMapper.)
Public Extension MethodHasSameContentAs
Returns true if two ILists have the same content.
(Defined by IListExtensions.)
Top
Remarks
This was not written because I had nothing better to do. I needed it because Mono's implementation of BindingList doesn't work. Only the bits of IBindingList that I need have been implemented. I implemented both ObservableCollection and IBindingList because I was using BindingList and I want this to work as a drop-in replacement.
See Also