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

Interface ISubscriptionRepository

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Namespace: EPiServer.Notification.Internal
Assembly: EPiServer.dll
Version: 10.10.4
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