Class InventoryUpdateEventArgs
EventArgs when there are inventory updates.
Inherited Members
System.EventArgs.Empty
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: Mediachase.Commerce.Engine.Events
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class InventoryUpdateEventArgs : CatalogKeyEventArgs
Constructors
InventoryUpdateEventArgs(IEnumerable<CatalogKey>)
Initializes a new instance of the InventoryUpdateEventArgs class.
Declaration
[Obsolete("This constructor is no longer used. Use the overload with IEnumerable<InventoryChange> instead. Will remain at least until April 2019.")]
public InventoryUpdateEventArgs(IEnumerable<CatalogKey> catalogKeys)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<CatalogKey> | catalogKeys | The catalog keys. |
InventoryUpdateEventArgs(IEnumerable<CatalogKey>, IEnumerable<InventoryChange>)
Initializes a new instance of the InventoryUpdateEventArgs class.
Declaration
public InventoryUpdateEventArgs(IEnumerable<CatalogKey> catalogKeys, IEnumerable<InventoryChange> inventoryChanges)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<CatalogKey> | catalogKeys | The catalog keys. |
System.Collections.Generic.IEnumerable<InventoryChange> | inventoryChanges | The changes applied to inventory records. |
Properties
InventoryChanges
The changes applied to inventory records.
Declaration
public IEnumerable<InventoryChange> InventoryChanges { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<InventoryChange> |