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

24 lines
752 B
C#

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)
{
}
public AbstractListVM() : this(null) { }
public bool PermissionManageVM { get; set; }
}
}