public static bool AcknowledgeAllItems( string accountId, DateTime acknowledgedAt, DateTime createdBefore) { return(NotificationItemDAL.AcknowledgeItems(new Guid?(), new Guid?(), accountId, acknowledgedAt, createdBefore)); }
public static bool AcknowledgeItemsByType( Guid typeId, string accountId, DateTime createdBefore) { return(NotificationItemDAL.AcknowledgeItems(new Guid?(), new Guid?(typeId), accountId, DateTime.UtcNow, createdBefore)); }
// Token: 0x06000847 RID: 2119 RVA: 0x0003B164 File Offset: 0x00039364 public static bool AcknowledgeItem(Guid notificationId, string accountId, DateTime createdBefore) { if (notificationId == Guid.Empty) { throw new ArgumentException("notificationId GUID can't be Guid.Empty", "notificationId"); } return(NotificationItemDAL.AcknowledgeItems(new Guid?(notificationId), null, accountId, DateTime.UtcNow, createdBefore)); }
// Token: 0x06000848 RID: 2120 RVA: 0x0003B1AC File Offset: 0x000393AC public static bool AcknowledgeItems <TNotificationItem>(string accountId, DateTime acknowledgedAt, DateTime createdBefore) where TNotificationItem : NotificationItemDAL, new() { Guid notificationItemTypeId = Activator.CreateInstance <TNotificationItem>().GetNotificationItemTypeId(); if (notificationItemTypeId == Guid.Empty) { throw new ArgumentException("Can't obtain Type GUID", "TNotificationItem"); } return(NotificationItemDAL.AcknowledgeItems(null, new Guid?(notificationItemTypeId), accountId, acknowledgedAt, createdBefore)); }
// Token: 0x0600084B RID: 2123 RVA: 0x0003B234 File Offset: 0x00039434 public static bool AcknowledgeAllItems(string accountId, DateTime createdBefore) { return(NotificationItemDAL.AcknowledgeItems(null, null, accountId, DateTime.UtcNow, createdBefore)); }
// Token: 0x06000849 RID: 2121 RVA: 0x0003B1FD File Offset: 0x000393FD public static bool AcknowledgeItems <TNotificationItem>(string accountId, DateTime createdBefore) where TNotificationItem : NotificationItemDAL, new() { return(NotificationItemDAL.AcknowledgeItems <TNotificationItem>(accountId, DateTime.UtcNow, createdBefore)); }