25 lines
801 B
C#
25 lines
801 B
C#
using System.Collections.Generic;
|
|
using BS.Shared.Core;
|
|
using BS.Shared.DataContracts;
|
|
|
|
namespace BeWo.ViewModel.ListViewModel
|
|
{
|
|
public class SupportConceptCostBearerRelListVM : AbstractDCListMapperVM<SupportConceptCostBearerRelDC, SupportConceptCostBearerRelVM>
|
|
{
|
|
private ObservableSortCollection<BudgetDC> _Budgets;
|
|
|
|
public SupportConceptCostBearerRelListVM(IEnumerable<SupportConceptCostBearerRelDC> pList, ObservableSortCollection<BudgetDC> budgets) : base(pList)
|
|
{
|
|
_Budgets = budgets;
|
|
}
|
|
|
|
protected override SupportConceptCostBearerRelVM CreateVM(SupportConceptCostBearerRelDC pDC)
|
|
{
|
|
var vm = base.CreateVM(pDC);
|
|
|
|
vm.Budgets = _Budgets;
|
|
|
|
return vm;
|
|
}
|
|
}
|
|
} |