コード例 #1
0
 public void OrderByDesceding()
 {
     if (NotificationList != null && NotificationList.Count() > 0)
     {
         NotificationList = NotificationList.OrderByDescending(x => x.NotificationId).ToList();
     }
 }
コード例 #2
0
 public int GetUnacknowledgedNotificationCount()
 {
     return(NotificationList.Count(notification => !notification.Acknowledged));
 }