diff --git a/Source/Collections/ObservableCollection.cs b/Source/Collections/ObservableCollection.cs index 967e572..1f8a432 100644 --- a/Source/Collections/ObservableCollection.cs +++ b/Source/Collections/ObservableCollection.cs @@ -30,6 +30,13 @@ namespace Nuclex.Support.Collections { #endregion // class ItemEventArgs + /// Raised when an item has been added to the collection + public event EventHandler ItemAdded; + /// Raised when an item is removed from the collection + public event EventHandler ItemRemoved; + /// Raised the collection is about to be cleared + public event EventHandler Clearing; + /// /// Initializes a new instance of the ObservableCollection class that is empty. /// @@ -45,13 +52,6 @@ namespace Nuclex.Support.Collections { /// public ObservableCollection(IList list) : base(list) { } - /// Raised when an item has been added to the collection - public event EventHandler ItemAdded; - /// Raised when an item is removed from the collection - public event EventHandler ItemRemoved; - /// Raised the collection is about to be cleared - public event EventHandler Clearing; - /// Removes all elements from the Collection protected override void ClearItems() { OnClearing();