![]() | EcommerceProductAfterDeleteArgs Class |
Namespace: Dynamicweb.Ecommerce.Notifications
The EcommerceProductAfterDeleteArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | EcommerceProductAfterDeleteArgs(Product) |
Initializes a new instance of the EcommerceProductBeforeDeleteArgs class.
|
![]() | EcommerceProductAfterDeleteArgs(ProductCollection) |
Initializes a new instance of the EcommerceProductBeforeDeleteArgs class.
|
![]() | EcommerceProductAfterDeleteArgs(String, String, String) |
Initializes a new instance of the EcommerceProductBeforeDeleteArgs class.
|
Name | Description | |
---|---|---|
![]() | ExecutingContext |
Gets the executing context.
|
![]() | IsCleanUp |
Gets a value indicating whether all additional information pertaining to the product was deleted.
|
![]() | Product |
Gets the product. Will return null is ExecutingContext is not SingleProduct.
|
![]() | ProductCollection |
Gets the product collection. Will return null if ExecutingContext is not ProductCollection.
|
![]() | ProductId |
Gets the product Id. Will return null if ExecutingContext is not SingleProduct.
|
![]() | ProductLanguageId |
Gets the product language Id. Will return null if ExecutingContext is not SingleProduct.
|
![]() | ProductVariantId |
Gets the product variant Id. Will return null if ExecutingContext is not SingleProduct.
|
using Dynamicweb; namespace Dynamicweb.Ecommerce.Examples.Notifications { [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Product.AfterDelete)] public class EcomProductAfterDeleteObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber { public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args) { Dynamicweb.Ecommerce.Notifications.Ecommerce.Product.AfterDeleteArgs afterDeleteArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Product.AfterDeleteArgs; //Add code here } } }