Class CatalogKeyEventBroadcaster
The broadcaster for CatalogKey related events
Inheritance
System.Object
CatalogKeyEventBroadcaster
Namespace: Mediachase.Commerce.Engine.Events
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public class CatalogKeyEventBroadcaster : Object
Constructors
CatalogKeyEventBroadcaster()
Declaration
public CatalogKeyEventBroadcaster()
Fields
CatalogKeyEventGuid
Declaration
public static readonly Guid CatalogKeyEventGuid
Field Value
| Type | Description |
|---|---|
| System.Guid |
EventRaiserId
Declaration
public static readonly Guid EventRaiserId
Field Value
| Type | Description |
|---|---|
| System.Guid |
Methods
OnInventoryUpdated(Object, InventoryUpdateEventArgs)
Trigger InventoryUpdated.
Declaration
public virtual void OnInventoryUpdated(object source, InventoryUpdateEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | The updated inventory being the source of the raised event. |
| InventoryUpdateEventArgs | args | The InventoryUpdateEventArgs instance containing the event data. |
OnPriceUpdated(Object, PriceUpdateEventArgs)
Trigger PriceUpdated.
Declaration
public virtual void OnPriceUpdated(object source, PriceUpdateEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | The updated prices being the source of the raised event. |
| PriceUpdateEventArgs | args | The PriceUpdateEventArgs instance containing the event data. |
RaiseEvent(CatalogKeyEventArgs)
Raise event when prices or inventories are updated.
Declaration
public void RaiseEvent(CatalogKeyEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| CatalogKeyEventArgs | e | Event arguments |
Events
CatalogMetaDataUpdated
Declaration
public static event EventHandler<CatalogKeyEventArgs> CatalogMetaDataUpdated
Event Type
| Type | Description |
|---|---|
| System.EventHandler<CatalogKeyEventArgs> |
InventoryUpdated
Event raised when an inventory has been updated.
Declaration
public event EventHandler<InventoryUpdateEventArgs> InventoryUpdated
Event Type
| Type | Description |
|---|---|
| System.EventHandler<InventoryUpdateEventArgs> |
PriceUpdated
Event raised when one or many prices have been updated.
Declaration
public event EventHandler<PriceUpdateEventArgs> PriceUpdated
Event Type
| Type | Description |
|---|---|
| System.EventHandler<PriceUpdateEventArgs> |