Open
Open
Code quality
Description
Description
Some code is duplicated between DetailsLayoutBrowser.xaml.cs,
GridViewBrowser.xaml.csand
ColumnViewBase.xaml.cs`. Sometimes it's entire methods, sometimes it's only partial bits.
These classes are already inheriting from BaseLayout.cs
. The duplicated code may be better hoisted inside this class.
Concerned code
- BaseLayout.cs
- ColumnViewBase.xaml.cs
- DetailsLayoutBrowser.xaml.cs
- GridViewBrowser.xaml.cs
Gains
- Better maintainability.
- No need to do the same modifications thrice when we want to add a functionality to the three views.
Requirements
- Hoist the duplicated code into
BaseLayout.cs
Comments
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🔖 Ready to build