Click or drag to resize

StandardParagraphParagraphRestoredEventArgs Class

Provides information about the restored paragraph.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.NotificationsStandardParagraphParagraphRestoredEventArgs

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

The StandardParagraphParagraphRestoredEventArgs type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyParagraphID
Gets the target paragraph id.
Top
Examples
C#
using Dynamicweb.Extensibility.Notifications;

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

            var item = (Dynamicweb.Notifications.Standard.Paragraph.ParagraphRestoredEventArgs) args;
            //item.ParagraphID;
        }
    }
}
See Also