RelayCommand inheritance in ViewModel
I’m designing a master/detail view-model scheme, so I created a base class that implements Add, Edit, Save, Cancel and Delete commands and also manages the CanExecute
logic for these commands. However, the Save and Delete commands need to be partially implemented in the derived class, but they must still be present in the base class to manage the CanExecute
logic.