-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The MoveItem method in Utilities.cs directly manipulates a BindingList<T>. While the concept of moving an item within a list is general, the reliance on BindingList couples this method to the UI layer.
To improve the separation and create more reusable core logic, this method should ideally operate on a more generic list interface or a standard List<T>.
Action:
- Create a new method in a core-level class (e.g.,
CollectionsUtils.cs) that accepts anIList<T>orList<T>and performs the item movement. - Move the item movement logic from
MoveItemto this new core method. - Modify
MoveItemto call the new core method, or ideally, have the UI call the core method directly for list manipulation. - Update any code that uses
MoveItemto align with the refactored structure. - Add or update tests for the core item movement logic.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request