Click or drag to resize

StandardPagePageRestoredEventArgs Class

Provides information about restored page page.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.NotificationsStandardPagePageRestoredEventArgs

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

The StandardPagePageRestoredEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodStandardPagePageRestoredEventArgs
Initializes a new instance of the StandardPagePageRestoredEventArgs class
Top
Properties
  NameDescription
Public propertyPageID
Gets the id of target page
Top
Examples
C#
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
        }
    }
}
See Also