NotificationsFrontend Class |
Namespace: Dynamicweb.News
The NotificationsFrontend type exposes the following members.
Name | Description | |
---|---|---|
NotificationsFrontend | Initializes a new instance of the NotificationsFrontend class |
Name | Description | |
---|---|---|
AfterLoad | Occurs after the module has processed the request. | |
AfterSelectData | Occurs after the data which will be presented to the user is selected. | |
BeforeLoad | Occurs when the module is about to process the request. | |
BeforeSelectData | Occurs before the data which will be presented to the user is selected. |
[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 } }