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

Interface INotificationUserRepository

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Signature for a component that can be used to register NotificationPreference.

Namespace: EPiServer.Notification.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public interface INotificationUserRepository : INotificationPreferenceRegister

Methods

IsInterested(INotificationUser, String, String)

Declaration
bool IsInterested(INotificationUser user, string channelName, string typeName = null)
Parameters
Type Name Description
INotificationUser user
System.String channelName
System.String typeName
Returns
Type Description
System.Boolean

ListPreferences(String, String)

Declaration
IList<NotificationPreference> ListPreferences(string userName, string channelName)
Parameters
Type Name Description
System.String userName
System.String channelName
Returns
Type Description
System.Collections.Generic.IList<NotificationPreference>

ListRegisteredPreferences(String)

Declaration
IList<NotificationPreference> ListRegisteredPreferences(string userName)
Parameters
Type Name Description
System.String userName
Returns
Type Description
System.Collections.Generic.IList<NotificationPreference>

RegisterPreferences(String, IList<NotificationPreference>)

Declaration
void RegisterPreferences(string userName, IList<NotificationPreference> userPreferences)
Parameters
Type Name Description
System.String userName
System.Collections.Generic.IList<NotificationPreference> userPreferences

Extension Methods