Class Ecommerce.CustomerCenter.AfterProductClearCacheArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Proovides information about product before rendering.
public class Ecommerce.CustomerCenter.AfterProductClearCacheArgs : NotificationArgs
- Inheritance
-
Ecommerce.CustomerCenter.AfterProductClearCacheArgs
- Inherited Members
Examples
using Dynamicweb.Extensibility.Notifications;
using static Dynamicweb.Ecommerce.Notifications.Ecommerce.Product;
namespace Dynamicweb.Ecommerce.Examples.Notifications;
[Subscribe(BeforeRender)]
public class EcomProductBeforeRenderObserver : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
if (args is not BeforeRenderArgs item)
return;
// Add code here
}
}
Remarks
The passed NotificationArgs is Ecommerce.CustomerCenter.AfterProductClearCacheArgs