November Happy Hour will be moved to Thursday December 5th.

Class DefaultOrderEvents

Default implementation of IOrderEvents.

Inheritance
System.Object
DefaultOrderEvents
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Order.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
public class DefaultOrderEvents : IOrderEvents, IDisposable

Constructors

DefaultOrderEvents()

Declaration
public DefaultOrderEvents()

Properties

Instance

Singleton instance of DefaultOrderEvents.

Declaration
public static DefaultOrderEvents Instance { get; }
Property Value
Type Description
DefaultOrderEvents

Methods

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

RaiseOrderEvent(String, OrderEventArgs)

Declaration
public virtual void RaiseOrderEvent(string key, OrderEventArgs eventArgs)
Parameters
Type Name Description
System.String key
OrderEventArgs eventArgs

Events

DeletedOrder

Is called after an order is deleted.

Declaration
public event EventHandler<OrderEventArgs> DeletedOrder
Event Type
Type Description
System.EventHandler<OrderEventArgs>

DeletingOrder

Is called before an order is deleted.

Declaration
public event EventHandler<OrderEventArgs> DeletingOrder
Event Type
Type Description
System.EventHandler<OrderEventArgs>

SavedOrder

Is called after an order is saved.

Declaration
public event EventHandler<OrderEventArgs> SavedOrder
Event Type
Type Description
System.EventHandler<OrderEventArgs>

SavingOrder

Is called before an order is saved.

Declaration
public event EventHandler<OrderEventArgs> SavingOrder
Event Type
Type Description
System.EventHandler<OrderEventArgs>

Implements

System.IDisposable