November Happy Hour will be moved to Thursday December 5th.

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: 10.10.4
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