![]() | EcommerceGroupBeforeDeleteArgs Class |
Namespace: Dynamicweb.Ecommerce.Notifications
The EcommerceGroupBeforeDeleteArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | EcommerceGroupBeforeDeleteArgs |
Initializes a new instance of the EcommerceGroupBeforeDeleteArgs class.
|
Name | Description | |
---|---|---|
![]() | AllRelationsDeleted |
Gets a value indicating whether all relations for the group(s) are deleted.
|
![]() | ExecutingContext |
Gets the executing context.
|
![]() | Group |
Gets the group. Will return null if ExecutingContext is not SingleGroup.
|
![]() | GroupCollection |
Gets the group collection. Will return null if ExecutingContext is not GroupCollection.
|
![]() | GroupId |
Gets the group Id. Will return null if ExecutingContext is not SingleGroup.
|
![]() | GroupLanguageId |
Gets the group language Id. Will return null if ExecutingContext is not SingleGroup.
|
![]() | StopExecution |
Gets or sets a value indicating whether to stop the save process. If true then the save process is interrupted.
|
using Dynamicweb; namespace Dynamicweb.Ecommerce.Examples.Notifications { [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.BeforeDelete)] public class EcomGroupBeforeDeleteObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber { public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args) { Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.BeforeDeleteArgs beforeDeleteArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.BeforeDeleteArgs; //Add code here } } }