Class Standard
- Namespace
- Dynamicweb.Notifications
- Assembly
- Dynamicweb.dll
Provides notifications for standard objects.
Find the various notifications in the list:
public sealed class Standard
- Inheritance
-
Standard
- Inherited Members
Examples
using Dynamicweb.Extensibility.Notifications;
namespace Dynamicweb.Examples.Notifications.Standard
{
[Subscribe(Dynamicweb.Notifications.Standard.Page.Loaded)]
public class PageLoadedObserver : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
if (args == null)
return;
var loadedArgs = (Dynamicweb.Notifications.Standard.Page.LoadedArgs) args;
//Adding Meta Tag to the PageView
loadedArgs.PageViewInstance.Meta.AddTag("my-meta-tag", "hello");
}
}
}