Click or drag to resize

StandardPagePageviewNotificationArgs Class

Generic notification argument for notifications in pageviev object
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.NotificationsStandardPagePageviewNotificationArgs

Namespace:  Dynamicweb.Notifications
Assembly:  Dynamicweb (in Dynamicweb.dll) Version: 9.10.0
Syntax
public class PageviewNotificationArgs : NotificationArgs

The StandardPagePageviewNotificationArgs type exposes the following members.

Constructors
  NameDescription
Public methodStandardPagePageviewNotificationArgs
Initializes a new instance of the StandardPagePageviewNotificationArgs class
Top
Properties
  NameDescription
Public propertyPageview
Public propertyTemplate
Top
Remarks
Examples
C#
using Dynamicweb.Extensibility.Notifications;

namespace Dynamicweb.Examples.Notifications.Standard
{
    [Subscribe(Dynamicweb.Notifications.Standard.Page.OnGlobalTags)]
    public class PageviewObserver : NotificationSubscriber
    {
        public override void OnNotify(string notification, NotificationArgs args)
        {
            if (args == null)
                return;

            var pna = (Dynamicweb.Notifications.Standard.Page.PageviewNotificationArgs) args;

            //To do - insert your code here
        }
    }
}
See Also