SaaS CMS has officially launched! Learn more now.

Class CatalogKeyEventArgs

Base EventArgs class for changes in prices and inventories.

Inheritance
System.Object
System.EventArgs
CatalogKeyEventArgs
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: 11.8.3
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 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
Overrides
System.Object.ToString()