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
using Dynamicweb.Extensibility.Notifications;
using static Dynamicweb.Ecommerce.Notifications.Ecommerce.ExportExcel;
namespace Dynamicweb.Ecommerce.Examples.Notifications;
[Subscribe(AfterExportExcel)]
public class AfterExportExcelSubscriber : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
if (args is not ExportExcelCreatedArgs notificationArgs)
return;
//do something here...
}
}
Remarks
The passed NotificationArgs Is Ecommerce.ExportExcel.ExportExcelCreatedArgs