From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- .../Notifications/INotificationsRepository.cs | 64 ---------------------- 1 file changed, 64 deletions(-) delete mode 100644 MediaBrowser.Controller/Notifications/INotificationsRepository.cs (limited to 'MediaBrowser.Controller/Notifications/INotificationsRepository.cs') diff --git a/MediaBrowser.Controller/Notifications/INotificationsRepository.cs b/MediaBrowser.Controller/Notifications/INotificationsRepository.cs deleted file mode 100644 index cd587a509..000000000 --- a/MediaBrowser.Controller/Notifications/INotificationsRepository.cs +++ /dev/null @@ -1,64 +0,0 @@ -using MediaBrowser.Model.Notifications; -using System; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; - -namespace MediaBrowser.Controller.Notifications -{ - /// - /// Interface INotificationsRepository - /// - public interface INotificationsRepository - { - /// - /// Occurs when [notification added]. - /// - event EventHandler NotificationAdded; - /// - /// Occurs when [notifications marked read]. - /// - event EventHandler NotificationsMarkedRead; - - /// - /// Gets the notifications. - /// - /// The query. - /// NotificationResult. - NotificationResult GetNotifications(NotificationQuery query); - - /// - /// Adds the notification. - /// - /// The notification. - /// The cancellation token. - /// Task. - Task AddNotification(Notification notification, CancellationToken cancellationToken); - - /// - /// Marks the read. - /// - /// The notification id list. - /// The user id. - /// if set to true [is read]. - /// The cancellation token. - /// Task. - Task MarkRead(IEnumerable notificationIdList, string userId, bool isRead, CancellationToken cancellationToken); - - /// - /// Marks all read. - /// - /// The user identifier. - /// if set to true [is read]. - /// The cancellation token. - /// Task. - Task MarkAllRead(string userId, bool isRead, CancellationToken cancellationToken); - - /// - /// Gets the notifications summary. - /// - /// The user id. - /// NotificationsSummary. - NotificationsSummary GetNotificationsSummary(string userId); - } -} -- cgit v1.2.3