SaaS CMS has officially launched! Learn more now.

Class DefaultNotificationOptionsRegistry

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Signature for components that formats NotificationMessage.

Inheritance
System.Object
DefaultNotificationOptionsRegistry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Notification.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(INotificationChannelOptionsRegistry), Lifecycle = ServiceInstanceScope.Singleton)]
public class DefaultNotificationOptionsRegistry : INotificationChannelOptionsRegistry

Constructors

DefaultNotificationOptionsRegistry()

Declaration
public DefaultNotificationOptionsRegistry()

Methods

Add(String, NotificationChannelOptions)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public NotificationChannelOptions Get(string channelName)
Parameters
Type Name Description
System.String channelName

The channel name

Returns
Type Description
NotificationChannelOptions

Notification option

Remove(String)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public void Remove(string channelName)
Parameters
Type Name Description
System.String channelName

The channel name

Implements

Extension Methods