Table of Contents

Class NotificationManager

Namespace
Dynamicweb.Extensibility.Notifications
Assembly
Dynamicweb.Extensibility.dll
Class NotificationManager.
public class NotificationManager
Inheritance
NotificationManager
Inherited Members

Methods

HasSubscribers(IEnumerable<string>)

Determines whether there are any notification subscribers that are configured to receive any of the given notifications.
public static bool HasSubscribers(IEnumerable<string> notifications)

Parameters

notifications IEnumerable<string>
Notification names.

Returns

bool
Value indicating whether there are any notification subscribers that are configured to receive any of the given notifications.

Exceptions

ArgumentNullException
notifications is null.
ArgumentException
notifications does not contain any valid elements.

HasSubscribers(string)

Determines whether there are any notification subscribers that are configured to receive the given notification.
public static bool HasSubscribers(string notification)

Parameters

notification string
Notification name.

Returns

bool
Value indicating whether there are any notification subscribers that are configured to receive the given notification.

Notify(string, NotificationArgs)

Notifies the specified notification.
public static void Notify(string notification, NotificationArgs eventArgs)

Parameters

notification string
The notification.
eventArgs NotificationArgs
The event args.
To top