Table of Contents

Class Ecommerce.Group.DeletedArgs

Namespace
Dynamicweb.Ecommerce.Notifications
Assembly
Dynamicweb.Ecommerce.dll
Provides information about product group when it has been deleted.
public class Ecommerce.Group.DeletedArgs : NotificationArgs
Inheritance
Ecommerce.Group.DeletedArgs
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.Group.DeletedArgs

Constructors

DeletedArgs(Group, string, string, GroupCollection)

Initializes a new instance of the Ecommerce.Group.BeforeDeleteArgs class.
public DeletedArgs(Group group, string id, string languageId, GroupCollection groups)

Parameters

group Group
The group.
id string
The id.
languageId string
The language Id.
groups GroupCollection
The groups.
See Also

Properties

AllRelationsDeleted

Gets a value indicating whether all relations for the group(s) are deleted.
public bool AllRelationsDeleted { get; set; }

Property Value

bool
true if all relations are deleted; otherwise, false.
See Also

ExecutingContext

Gets the executing context.
public Ecommerce.Group.ExecutingContext ExecutingContext { get; set; }

Property Value

Ecommerce.Group.ExecutingContext
The executing context.
See Also

Group

Gets the group. Will return null if ExecutingContext is not SingleGroup.
public Group Group { get; }

Property Value

Group
The group.
See Also

GroupCollection

Gets the group collection. Will return null if ExecutingContext is not GroupCollection.
public GroupCollection GroupCollection { get; }

Property Value

GroupCollection
The group collection.
See Also

GroupId

Gets the group Id. Will return null if ExecutingContext is not SingleGroup.
public string GroupId { get; }

Property Value

string
The group identifier.
See Also

GroupLanguageId

Gets the group language Id. Will return null if ExecutingContext is not SingleGroup.
public string GroupLanguageId { get; }

Property Value

string
The group language identifier.
See Also

See Also

To top