public static ArrangementMaxCount operator +(ArrangementMaxCount left, ArrangementMaxCount right) { var arrangementCount = new ArrangementMaxCount(); arrangementCount.monoInfoToCount.AddRange(left.monoInfoToCount); arrangementCount.monoInfoToCount.AddRange(right.monoInfoToCount); return(arrangementCount); }
public ArrangementMaxCount GetMaxCount(List <uint> ids) { var arrangementMaxCount = new ArrangementMaxCount(); foreach (var model in Gets(ids)) { arrangementMaxCount += model.ArrangementMaxCount; } return(arrangementMaxCount); }