示例#1
0
 public void AddNotifications(IEnumerable <Notification> notifications) => Notifications = Notifications.Concat(notifications ?? Array.Empty <Notification>()).ToList();
示例#2
0
 public void AddNotifications(IEnumerable <Notification> notifications) => Notifications.Concat(notifications);