Class Ecommerce.Group.DeletedArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about product group when it has been deleted.
- Inheritance
-
Ecommerce.
Group. Deleted Args
- Inherited Members
Examples
using Dynamicweb;
namespace Dynamicweb.Ecommerce.Examples.Notifications
{
[Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.Deleted)]
public class EcomGroupDeletedObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
{
Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.DeletedArgs deletedArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.DeletedArgs;
//Add code here
}
}
}
Remarks
The passed NotificationArgs is Ecommerce.
Constructors
DeletedArgs(Group, string, string, GroupCollection)
Initializes a new instance of the Ecommerce.
Parameters
group
GroupThe group.
id
stringThe id.
languageId
stringThe language Id.
groups
GroupCollection The groups.
Properties
AllRelationsDeleted
Gets a value indicating whether all relations for the group(s) are deleted.
Property Value
- bool
true
if all relations are deleted; otherwise,false
.
ExecutingContext
Gets the executing context.
Property Value
- Ecommerce.Group.Executing
Context The executing context.
Group
Gets the group. Will return null if ExecutingContext is not SingleGroup.
Property Value
- Group
The group.
GroupCollection
Gets the group collection. Will return null if ExecutingContext is not GroupCollection.
Property Value
- Group
Collection The group collection.
GroupId
Gets the group Id. Will return null if ExecutingContext is not SingleGroup.
Property Value
- string
The group identifier.
GroupLanguageId
Gets the group language Id. Will return null if ExecutingContext is not SingleGroup.
Property Value
- string
The group language identifier.