Click or drag to resize

NotificationsFrontend Class

Provides notification names for the frontend part.
Inheritance Hierarchy
SystemObject
  Dynamicweb.NewsNotificationsFrontend

Namespace:  Dynamicweb.News
Assembly:  Dynamicweb.News (in Dynamicweb.News.dll) Version: 1.0.10
Syntax
public class Frontend

The NotificationsFrontend type exposes the following members.

Constructors
  NameDescription
Public methodNotificationsFrontend
Initializes a new instance of the NotificationsFrontend class
Top
Fields
  NameDescription
Public fieldStatic memberCode exampleAfterLoad
Occurs after the module has processed the request.
Public fieldStatic memberCode exampleAfterSelectData
Occurs after the data which will be presented to the user is selected.
Public fieldStatic memberCode exampleBeforeLoad
Occurs when the module is about to process the request.
Public fieldStatic memberCode exampleBeforeSelectData
Occurs before the data which will be presented to the user is selected.
Top
Remarks
Examples
How to subscribe to Events
C#
[Dynamicweb.Extensibility.Subscribe(Dynamicweb.Notifications.NewsV2.Frontend.BeforeLoad)]
 public class NewsV2BeforeLoadNotification : Dynamicweb.Extensibility.NotificationSubscriber
 {
    public override void OnNotify(string notification, object[] args)
    {
        Dynamicweb.NewsV2.Extensibility.FrontendNotificationArgs arg = (Dynamicweb.NewsV2.Extensibility.FrontendNotificationArgs)args[0];

        //Todo: insert your code here
    }
 }
See Also