Class CatalogEventArgs
Implements operations for the catalog event arguments.
Inheritance
System.Object
System.EventArgs
CatalogEventArgs
Inherited Members
System.EventArgs.Empty
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: Mediachase.Commerce.Catalog.Events
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class CatalogEventArgs : CatalogSystemEventArgs
Constructors
CatalogEventArgs(String)
Initializes a new instance of the CatalogEventArgs class.
Declaration
[Obsolete("Use an other constructor. Will remain at least until October 2018.")]
public CatalogEventArgs(string eventName)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventName | Name of the event. |
CatalogEventArgs(String, IEnumerable<CatalogChange>)
Initializes a new instance of the CatalogEventArgs class.
Declaration
public CatalogEventArgs(string eventName, IEnumerable<CatalogChange> catalogChanges)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventName | Name of the event. |
System.Collections.Generic.IEnumerable<CatalogChange> | catalogChanges | Describes what changes are made to catalogs. |
Properties
CatalogChanges
Describes what changes are made to catalogs.
Declaration
public IEnumerable<CatalogChange> CatalogChanges { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CatalogChange> |
Remarks
This is only used in the CatalogUpdating event when the changes are commited. In the CatalogUpdated event this collection will be empty.