Class Standard.Paragraph.ParagraphRestoredEventArgs
- Namespace
- Dynamicweb.Notifications
- Assembly
- Dynamicweb.dll
Provides information about the restored paragraph.
public class Standard.Paragraph.ParagraphRestoredEventArgs : NotificationArgs
- Inheritance
-
Standard.Paragraph.ParagraphRestoredEventArgs
- Inherited Members
Examples
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;
}
}
}
Constructors
ParagraphRestoredEventArgs(int)
Initializes a new instance of an object.
public ParagraphRestoredEventArgs(int id)
Parameters
id
int- Target paragraph id.
Properties
ParagraphID
Gets the target paragraph id.
public int ParagraphID { get; }