Interface INotificationRepository
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public interface INotificationRepository
Methods
DeleteAsync(IEnumerable<Int32>)
Declaration
Task DeleteAsync(IEnumerable<int> messageIds)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
messageIds |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
GetAsync(Int32)
Declaration
Task<InternalNotificationMessage> GetAsync(int messageId)
Parameters
Type |
Name |
Description |
System.Int32 |
messageId |
|
Returns
ListAsync(String, String, Uri, Nullable<Boolean>, Nullable<Boolean>, Int64, Int32)
Declaration
Task<PagedInternalNotificationMessageResult> ListAsync(string recipient, string channelName, Uri category, bool? read, bool? sent, long startIndex, int maxRows)
Parameters
Type |
Name |
Description |
System.String |
recipient |
|
System.String |
channelName |
|
System.Uri |
category |
|
System.Nullable<System.Boolean> |
read |
|
System.Nullable<System.Boolean> |
sent |
|
System.Int64 |
startIndex |
|
System.Int32 |
maxRows |
|
Returns
ListRecipientsAsync(Nullable<Boolean>, Nullable<Boolean>)
Declaration
Task<IEnumerable<string>> ListRecipientsAsync(bool? read, bool? sent)
Parameters
Type |
Name |
Description |
System.Nullable<System.Boolean> |
read |
|
System.Nullable<System.Boolean> |
sent |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.String>> |
|
ListUnsentAsync(IEnumerable<String>, Boolean)
Declaration
Task<IEnumerable<InternalNotificationMessage>> ListUnsentAsync(IEnumerable<string> recipients, bool includeScheduled)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
recipients |
|
System.Boolean |
includeScheduled |
|
Returns
MarkAsReadAsync(IEnumerable<Int32>)
Declaration
Task MarkAsReadAsync(IEnumerable<int> messageIds)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
messageIds |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
MarkAsSentAsync(IEnumerable<Int32>)
Declaration
Task MarkAsSentAsync(IEnumerable<int> messageIds)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
messageIds |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SaveAsync(InternalNotificationMessage)
Declaration
Task<int> SaveAsync(InternalNotificationMessage message)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Int32> |
|
TruncateAsync(DateTime)
Declaration
Task<int> TruncateAsync(DateTime olderThan)
Parameters
Type |
Name |
Description |
System.DateTime |
olderThan |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Int32> |
|
Extension Methods