Class DefaultNotificationOptionsRegistry
Signature for components that formats NotificationMessage.
Inheritance
System.Object
    DefaultNotificationOptionsRegistry
  Implements
Namespace: EPiServer.Notification.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class DefaultNotificationOptionsRegistry : Object, INotificationChannelOptionsRegistryConstructors
DefaultNotificationOptionsRegistry()
Declaration
public DefaultNotificationOptionsRegistry()Methods
Add(String, NotificationChannelOptions)
Add or register an option for channel name
Declaration
public void Add(string channelName, NotificationChannelOptions options)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | channelName | The channel name | 
| NotificationChannelOptions | options | Notification options | 
Remarks
If the channel name exists then throws System.InvalidOperationException
Get(String)
Get the NotificationChannelOptions for the channel name.
Declaration
public NotificationChannelOptions Get(string channelName)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | channelName | The channel name | 
Returns
| Type | Description | 
|---|---|
| NotificationChannelOptions | Notification option | 
Remove(String)
Remove or Unregister the option for the channel name
Declaration
public void Remove(string channelName)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | channelName | The channel name | 
