November Happy Hour will be moved to Thursday December 5th.

Interface ISubscriptionRepository

Namespace: EPiServer.Notification.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface ISubscriptionRepository

Methods

ClearSubscriptionAsync(Uri)

Declaration
Task ClearSubscriptionAsync(Uri subscriptionKey)
Parameters
Type Name Description
System.Uri subscriptionKey
Returns
Type Description
System.Threading.Tasks.Task

ClearUserAsync(String)

Declaration
Task ClearUserAsync(string user)
Parameters
Type Name Description
System.String user
Returns
Type Description
System.Threading.Tasks.Task

FindSubscribersAsync(Uri)

Declaration
Task<IEnumerable<string>> FindSubscribersAsync(Uri subscriptionKey)
Parameters
Type Name Description
System.Uri subscriptionKey
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.String>>

ListSubscribersAsync(Uri)

Declaration
Task<IEnumerable<string>> ListSubscribersAsync(Uri subscriptionKey)
Parameters
Type Name Description
System.Uri subscriptionKey
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.String>>

ListSubscriptionsAsync(String)

Declaration
Task<IEnumerable<Uri>> ListSubscriptionsAsync(string user)
Parameters
Type Name Description
System.String user
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.Uri>>

ListSubscriptionsAsync(Uri)

Declaration
Task<IEnumerable<Uri>> ListSubscriptionsAsync(Uri subscriptionKey)
Parameters
Type Name Description
System.Uri subscriptionKey
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.Uri>>

SubscribeAsync(Uri, String)

Declaration
Task<bool> SubscribeAsync(Uri subscriptionKey, string user)
Parameters
Type Name Description
System.Uri subscriptionKey
System.String user
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

UnsubscribeAsync(Uri, String)

Declaration
Task<bool> UnsubscribeAsync(Uri subscriptionKey, string user)
Parameters
Type Name Description
System.Uri subscriptionKey
System.String user
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

Extension Methods