Table of Contents

Class Standard.Page.PageRestoredEventArgs

Namespace
Dynamicweb.Notifications
Assembly
Dynamicweb.dll
Provides information about restored page page.
public class Standard.Page.PageRestoredEventArgs : NotificationArgs
Inheritance
Standard.Page.PageRestoredEventArgs
Inherited Members

Examples

using Dynamicweb.Extensibility.Notifications;

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

            var pra = (Dynamicweb.Notifications.Standard.Page.PageRestoredEventArgs) args;
            //pra.PageID
        }
    }
}

Constructors

PageRestoredEventArgs(int)

public PageRestoredEventArgs(int id)

Parameters

id int

Properties

PageID

Gets the id of target page
public int PageID { get; }

Property Value

int
To top