Interface INotificationUserRepository
Assembly: EPiServer.dll
Version: 12.0.3
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 |
|
ListPreferencesAsync(String, String)
Declaration
Task<IList<NotificationPreference>> ListPreferencesAsync(string userName, string channelName)
Parameters
Type |
Name |
Description |
System.String |
userName |
|
System.String |
channelName |
|
Returns
ListRegisteredPreferences(String)
Declaration
IList<NotificationPreference> ListRegisteredPreferences(string userName)
Parameters
Type |
Name |
Description |
System.String |
userName |
|
Returns
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