[]
Represents an OwnedCollection that fires events when changing.
public class EventCollection : OwnedCollection, IList, ICollection, IEnumerable
Name | Description |
---|---|
EventCollection(ICollectionOwner) | Initializes a new instance of the EventCollection. |
Name | Description |
---|---|
OnClear() | Called when the collection is about to be cleared. Fires the Changing event. |
OnClearComplete() | Called after the collection has been cleared. Fires the Changed event. |
OnInsert(int, object) | Called when an item is about to be iserted. Fires the Changing event. |
OnInsertComplete(int, object) | Called after an item has been inserted. Fires the Changed event. |
OnRemove(int, object) | Called when an item is about to be removed. Fires the Changing event. |
OnRemoveComplete(int, object) | Called after an item has been removed. Fires the Changed event. |
OnSet(int, object, object) | Called when an item is about to be set. Fires the Changing event. |
OnSetComplete(int, object, object) | Called after an item has been set. Fires the Changed event. |
Name | Description |
---|---|
Changed | Occurs after a change has been made to the current collection. |
Changing | Occurs when a change is about to be made to the current collection. |