Пример #1
0
        public static ArrangementMaxCount operator +(ArrangementMaxCount left, ArrangementMaxCount right)
        {
            var arrangementCount = new ArrangementMaxCount();

            arrangementCount.monoInfoToCount.AddRange(left.monoInfoToCount);
            arrangementCount.monoInfoToCount.AddRange(right.monoInfoToCount);
            return(arrangementCount);
        }
Пример #2
0
        public ArrangementMaxCount GetMaxCount(List <uint> ids)
        {
            var arrangementMaxCount = new ArrangementMaxCount();

            foreach (var model in Gets(ids))
            {
                arrangementMaxCount += model.ArrangementMaxCount;
            }
            return(arrangementMaxCount);
        }