Table of Contents

Class Standard.Page.PageviewNotificationArgs

Namespace
Dynamicweb.Notifications
Assembly
Dynamicweb.dll

Generic notification argument for notifications in pageviev object

public class Standard.Page.PageviewNotificationArgs : NotificationArgs
Inheritance
Standard.Page.PageviewNotificationArgs
Inherited Members

Examples

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
    }
}

Remarks

Arguments passed to Dynamicweb.Notifications.Standard.Page.OnGlobalTags notification

Constructors

PageviewNotificationArgs(PageView, Template)

public PageviewNotificationArgs(PageView pageview, Template template)

Parameters

pageview PageView
template Template

Properties

Pageview

public PageView Pageview { get; set; }

Property Value

PageView

Template

public Template Template { get; set; }

Property Value

Template
To top