Interface INotificationPreferenceRegister
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Signature for a component that can be used to register a default preference resolver.
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public interface INotificationPreferenceRegister
Methods
RegisterDefaultPreference(String, String, Func<String, String>)
Register a default preference resolver for a channel and a provider.
Declaration
void RegisterDefaultPreference(string channelName, string providerName, Func<string, string> addressResolver)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelName | The channel |
System.String | providerName | the provider |
System.Func<System.String, System.String> | addressResolver | a delegate that resolves a provider specific address from a username |