Class Ecommerce.ExportExcel
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Class ExportExcel. This class cannot be inherited.
public sealed class Ecommerce.ExportExcel
- Inheritance
-
Ecommerce.ExportExcel
- Inherited Members
Fields
AfterExportExcel
Occurs after export excel provider has formed excel package to be exported.
public const string AfterExportExcel = "DWN_AFTER_EXPORT_EXCEL_BOOK_IS_SAVED"
Field Value
Examples
namespace Dynamicweb.Ecommerce.Examples.Notifications;
[Dynamicweb.Extensibility.Notifications.Subscribe(Ecommerce.Notifications.Ecommerce.ExportExcel.AfterExportExcel)]
public class AfterExportExcelSubscriber : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
{
if (args is not Ecommerce.Notifications.Ecommerce.ExportExcel.ExportExcelCreatedArgs notificationArgs)
return;
//do something here...
}
}
Remarks
The passed NotificationArgs Is Ecommerce.ExportExcel.ExportExcelCreatedArgs