public CollectionWithCRUDCommandsVM()
 {
     MenuCommandCRUDVM = new MenuCommandCRUDVM <T>(delegate() { return(CurrentElement); });
 }
 protected virtual void CurrentElementChanged(bool isSelectedAfterCollectionInitialize)
 {
     MenuCommandCRUDVM.UpdateCanExecuteForEditViewDeleteCommands();
 }
 protected override void InitializeCommands()
 {
     MenuCommandCRUDVM.InitializeAllCommands(OnAddCommandExecute, OnEditCommandExecute, OnDeleteCommandExecute);
 }