Index: src/Common/DelftTools.Utils/Collections/NotifyCollectionChangingEventArgs.cs
===================================================================
diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a
--- src/Common/DelftTools.Utils/Collections/NotifyCollectionChangingEventArgs.cs (.../NotifyCollectionChangingEventArgs.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9)
+++ src/Common/DelftTools.Utils/Collections/NotifyCollectionChangingEventArgs.cs (.../NotifyCollectionChangingEventArgs.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a)
@@ -9,24 +9,32 @@
///
public class NotifyCollectionChangingEventArgs : CancelEventArgs
{
- public NotifyCollectionChangingEventArgs(NotifyCollectionChangeAction action, object item, int index, int oldIndex)
+ ///
+ /// Indicate what operation took place such as add, remove etc...
+ ///
+ public NotifyCollectionChangeAction Action;
+
+ ///
+ /// When inserting, this is the position where the item is inserted.
+ ///
+ public int Index;
+
+ ///
+ /// Previous index (if changed). TODO: remove it. This is the index at which the insert was intent
+ ///
+ public int OldIndex;
+
+ public NotifyCollectionChangingEventArgs(NotifyCollectionChangeAction action, object item, int index, int oldIndex)
{
Action = action;
Item = item;
Index = index;
OldIndex = oldIndex;
}
- public NotifyCollectionChangingEventArgs()
- {
- }
+ public NotifyCollectionChangingEventArgs() {}
///
- /// Indicate what operation took place such as add, remove etc...
- ///
- public NotifyCollectionChangeAction Action;
-
- ///
/// The item added, removed or replaced. On replace the new item is given
///
public virtual object Item { get; set; }
@@ -35,15 +43,5 @@
/// Item that is replaced. (only filled out on replace)
///
public virtual object OldItem { get; set; }
-
- ///
- /// When inserting, this is the position where the item is inserted.
- ///
- public int Index;
-
- ///
- /// Previous index (if changed). TODO: remove it. This is the index at which the insert was intent
- ///
- public int OldIndex;
}
}
\ No newline at end of file