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
This commit is contained in:
Markus Ewald 2007-05-09 19:17:53 +00:00
parent 7ec11b91b9
commit 84324eb936

View File

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