Table of Contents

Class Ecommerce.Group.AfterSaveArgs

Namespace
Dynamicweb.Ecommerce.Notifications
Assembly
Dynamicweb.Ecommerce.dll

Provides information about group after group was saved.

public class Ecommerce.Group.AfterSaveArgs : NotificationArgs
Inheritance
Ecommerce.Group.AfterSaveArgs
Inherited Members

Examples

using Dynamicweb.Extensibility.Notifications;

namespace Dynamicweb.Ecommerce.Examples.Notifications;

[Subscribe(Ecommerce.Notifications.Ecommerce.Group.AfterSave)]
public class EcomGroupAfterSaveObserver : NotificationSubscriber
{
    public override void OnNotify(string notification, NotificationArgs args)
    {
        if (args is not Ecommerce.Notifications.Ecommerce.Group.AfterSaveArgs afterSaveArgs)        
            return;

        // Add code here
    }
}

Remarks

The passed NotificationArgs is Ecommerce.Group.AfterSaveArgs

Constructors

AfterSaveArgs(Group)

Initializes a new instance of the Ecommerce.Group.AfterSaveArgs class.

public AfterSaveArgs(Group group)

Parameters

group Group

The group.

Properties

Group

Gets the group.

public Group Group { get; }

Property Value

Group

The group.

GroupBeforeChanges

Gets previous state of the group.

public Group GroupBeforeChanges { get; set; }

Property Value

Group

The group.

See Also

To top