Interface INotificationChannelOptionsRegistry
Registry for options used to control how notifications within a specific ChannelName should be handled.
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface INotificationChannelOptionsRegistry
Methods
Add(String, NotificationChannelOptions)
Add or register an option for channel name
Declaration
void Add(string channelName, NotificationChannelOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | channelName | The channel name |
| NotificationChannelOptions | options | Notification options |
Get(String)
Get the NotificationChannelOptions for the channel name.
Declaration
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
void Remove(string channelName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | channelName | The channel name |