Table of Contents

Class Ecommerce.Group.BeforeSaveArgs

Namespace
Dynamicweb.Ecommerce.Notifications
Assembly
Dynamicweb.Ecommerce.dll
Provides information about group before group is going to be saved.
public class Ecommerce.Group.BeforeSaveArgs : NotificationArgs
Inheritance
Ecommerce.Group.BeforeSaveArgs
Inherited Members

Examples

using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.BeforeSave)]
      public class EcomGroupBeforeSaveObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.BeforeSaveArgs beforeSaveArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.BeforeSaveArgs;

              //Add code here
          }
      }
  }

Remarks

The passed NotificationArgs is Ecommerce.Group.BeforeSaveArgs

Constructors

BeforeSaveArgs(Group)

Initializes a new instance of the Ecommerce.Group.BeforeSaveArgs class.
public BeforeSaveArgs(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

StopExecution

Gets or sets a value indicating whether to stop the save process. If true then the save process is interrupted.
public bool StopExecution { get; set; }

Property Value

bool
true if save process should be interrupted; otherwise, false.
See Also

See Also

To top