Files
BeWoPlaner/BeWo/ViewModel/ListViewModel/AbstractListVM.cs

24 lines
752 B
C#
Raw Normal View History

2024-09-09 15:05:36 +02:00
using DevExpress.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.ViewModel.ListViewModel
{
public abstract class AbstractListVM<DCType, VMType> : AbstractDCListMapperVM<DCType, VMType> where VMType : AbstractDCMapperVM<DCType> where DCType : new()
{
public DelegateCommand AddVMCommand { get; set; }
public DelegateCommand DeleteSelectedVMCommand { get; set; }
public DelegateCommand CopySelectedVMCommand { get; set; }
public AbstractListVM(IEnumerable<DCType> pDCList) : base(pDCList)
{
}
2024-09-16 15:08:27 +02:00
public AbstractListVM() : this(null) { }
2024-09-09 15:05:36 +02:00
2024-09-16 15:08:27 +02:00
public bool PermissionManageVM { get; set; }
2024-09-09 15:05:36 +02:00
}
}