Class CommentNotification.CommentArgs
- Namespace
- Dynamicweb.Notifications
- Assembly
- Dynamicweb.dll
Generic notification argument for comments
- Inheritance
-
Comment
Notification. Comment Args
- Inherited Members
Examples
using Dynamicweb.Extensibility.Notifications;
using Dynamicweb.Notifications;
namespace Dynamicweb.Examples.Notifications
{
[Subscribe(CommentNotification.OnBeforeSave)]
public class OnBeforeSaveObserver : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
var commentArgs = args as CommentNotification.CommentArgs;
//Add code here
}
}
}
Remarks
Arguments passed to:
Dynamicweb.
Properties
Comment
Gets or sets the comment.
Property Value
- Comment
The comment.