Exemplo n.º 1
0
 private void RecalculateTotalCarPart()
 {
     TotalCarPartsCount = new ObservableCollection <ContainerCountCarParts>
     {
         new ContainerCountCarParts
         {
             Text  = "Итого",
             Count = CurrentContainerCarParts.Sum(p => p.CountCarParts)
         }
     };
 }