World is now on Opti ID! Learn more

Class CatalogKeyEventArgs

Base EventArgs class for changes in prices and inventories.

Inheritance
System.Object
CatalogKeyEventArgs
Namespace: Mediachase.Commerce.Engine.Events
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class CatalogKeyEventArgs : EventArgs

Constructors

CatalogKeyEventArgs(String, IEnumerable<CatalogKey>)

Initializes a new instance of the CatalogKeyEventArgs class.

Declaration
public CatalogKeyEventArgs(string name, IEnumerable<CatalogKey> catalogKeys)
Parameters
Type Name Description
System.String name

The name of the event.

System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys

The catalog keys.

Properties

ApplicationHasContentModelTypes

Describes whether the application raising the event has content model types

Declaration
public Nullable<bool> ApplicationHasContentModelTypes { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

CatalogKeys

Gets list of CatalogKey of updated items.

Declaration
public IEnumerable<CatalogKey> CatalogKeys { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CatalogKey>

The entry code.

Name

Gets the name of the event.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

The name.

Methods

ToString()

Returns a string containing the Name as well as any the CatalogEntryCode of the contained CatalogKeys.

Declaration
public override string ToString()
Returns
Type Description
System.String