From 84324eb9363cb11d0a92e9e39eaeb716d73ebef2 Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Wed, 9 May 2007 19:17:53 +0000 Subject: [PATCH] Moved events to top of class to stay conformant with coding standards git-svn-id: file:///srv/devel/repo-conversion/nusu@16 d2e56fa2-650e-0410-a79f-9358c0239efd --- Source/Collections/ObservableCollection.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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();