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;

namespace Dynamicweb.Ecommerce.Examples.Notifications
{
    [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.AfterSave)]
    public class EcomGroupAfterSaveObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
    {
        public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
        {
            Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.AfterSaveArgs afterSaveArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.AfterSaveArgs;
            //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.
See Also

Properties

Group

Gets the group.
public Group Group { get; }

Property Value

Group
The group.
See Also

GroupBeforeChanges

Gets previous state of the group.
public Group GroupBeforeChanges { get; set; }

Property Value

Group
The group.
See Also

See Also

To top