Click or drag to resize
CorrectableMessageList Class
Simple list class which takes care of binding to the OnHandled event and removing messages based on that event automatically.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionCorrectableMessage
    System.ComponentModelBindingListCorrectableMessage
      SD.LLBLGen.Pro.ApplicationCore.MessageReportingCorrectableMessageList

Namespace:  SD.LLBLGen.Pro.ApplicationCore.MessageReporting
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public class CorrectableMessageList : BindingList<CorrectableMessage>

The CorrectableMessageList type exposes the following members.

Constructors
  NameDescription
Public methodCorrectableMessageList
Initializes a new instance of the CorrectableMessageList class.
Top
Properties
  NameDescription
Public propertyAllowEdit
Gets or sets a value indicating whether items in the list can be edited.
(Inherited from BindingListCorrectableMessage.)
Public propertyAllowNew
Gets or sets a value indicating whether you can add items to the list using the AddNew method.
(Inherited from BindingListCorrectableMessage.)
Public propertyAllowRemove
Gets or sets a value indicating whether you can remove items from the collection.
(Inherited from BindingListCorrectableMessage.)
Public propertyCount (Inherited from CollectionCorrectableMessage.)
Protected propertyIsSortedCore
Gets a value indicating whether the list is sorted.
(Inherited from BindingListCorrectableMessage.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionCorrectableMessage.)
Protected propertyItems (Inherited from CollectionCorrectableMessage.)
Public propertyRaiseListChangedEvents
Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.
(Inherited from BindingListCorrectableMessage.)
Protected propertySortDirectionCore
Gets the direction the list is sorted.
(Inherited from BindingListCorrectableMessage.)
Protected propertySortPropertyCore
Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns null.
(Inherited from BindingListCorrectableMessage.)
Protected propertySupportsChangeNotificationCore
Gets a value indicating whether ListChanged events are enabled.
(Inherited from BindingListCorrectableMessage.)
Protected propertySupportsSearchingCore
Gets a value indicating whether the list supports searching.
(Inherited from BindingListCorrectableMessage.)
Protected propertySupportsSortingCore
Gets a value indicating whether the list supports sorting.
(Inherited from BindingListCorrectableMessage.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionCorrectableMessage.)
Public methodAddNew
Adds a new item to the collection.
(Inherited from BindingListCorrectableMessage.)
Protected methodAddNewCore
Adds a new item to the end of the collection.
(Inherited from BindingListCorrectableMessage.)
Protected methodApplySortCore
Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.
(Inherited from BindingListCorrectableMessage.)
Public methodCancelNew
Discards a pending new item.
(Inherited from BindingListCorrectableMessage.)
Public methodClear (Inherited from CollectionCorrectableMessage.)
Protected methodClearItems
Clears the items.
(Overrides BindingListTClearItems.)
Public methodContains (Inherited from CollectionCorrectableMessage.)
Public methodCopyTo (Inherited from CollectionCorrectableMessage.)
Public methodEndNew
Commits a pending new item to the collection.
(Inherited from BindingListCorrectableMessage.)
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.)
Protected methodFindCore
Searches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException.
(Inherited from BindingListCorrectableMessage.)
Public methodGetEnumerator (Inherited from CollectionCorrectableMessage.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionCorrectableMessage.)
Public methodInsert (Inherited from CollectionCorrectableMessage.)
Protected methodInsertItem
Inserts the item.
(Overrides BindingListTInsertItem(Int32, T).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddingNew
Raises the AddingNew event.
(Inherited from BindingListCorrectableMessage.)
Protected methodOnListChanged
Raises the ListChanged event.
(Inherited from BindingListCorrectableMessage.)
Public methodRemove (Inherited from CollectionCorrectableMessage.)
Public methodRemoveAt (Inherited from CollectionCorrectableMessage.)
Protected methodRemoveItem
Removes the item.
(Overrides BindingListTRemoveItem(Int32).)
Protected methodRemoveSortCore
Removes any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.
(Inherited from BindingListCorrectableMessage.)
Public methodResetBindings
Raises a ListChanged event of type Reset.
(Inherited from BindingListCorrectableMessage.)
Public methodResetItem
Raises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingListCorrectableMessage.)
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Inherited from BindingListCorrectableMessage.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAddingNew
Occurs before an item is added to the list.
(Inherited from BindingListCorrectableMessage.)
Public eventListChanged
Occurs when the list or an item in the list changes.
(Inherited from BindingListCorrectableMessage.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate methodIBindingListAddIndex
For a description of this member, see AddIndex(PropertyDescriptor).
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate methodIBindingListAddNew
Adds a new item to the list. For more information, see AddNew.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListAllowEdit
Gets a value indicating whether items in the list can be edited.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListAllowNew
Gets a value indicating whether new items can be added to the list using the AddNew method.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListAllowRemove
Gets a value indicating whether items can be removed from the list.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate methodIBindingListApplySort
Sorts the list based on a PropertyDescriptor and a ListSortDirection. For a complete description of this member, see ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate methodIBindingListFind
For a description of this member, see Find(PropertyDescriptor, Object).
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListIsSorted
For a description of this member, see IsSorted.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate propertyIRaiseItemChangedEventsRaisesItemChangedEvents
Gets a value indicating whether item property value changes raise ListChanged events of type ItemChanged. This member cannot be overridden in a derived class.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionCorrectableMessage.)
Explicit interface implementationPrivate methodIBindingListRemoveIndex
For a description of this member, see RemoveIndex(PropertyDescriptor).
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate methodIBindingListRemoveSort (Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListSortDirection
For a description of this member, see SortDirection.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListSortProperty
For a description of this member, see SortProperty.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListSupportsChangeNotification
For a description of this member, see SupportsChangeNotification.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListSupportsSearching
For a description of this member, see SupportsSearching.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyIBindingListSupportsSorting
For a description of this member, see SupportsSorting.
(Inherited from BindingListCorrectableMessage.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionCorrectableMessage.)
Top
See Also