Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class AssociationEventArgs

Represents the arguments of an association event.

Inheritance
System.Object
AssociationEventArgs
Namespace: Mediachase.Commerce.Catalog.Events
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class AssociationEventArgs : CatalogSystemEventArgs

Constructors

AssociationEventArgs(String, IEnumerable<AssociationChange>)

Initializes a new instance of the AssociationEventArgs class.

Declaration
public AssociationEventArgs(string eventName, IEnumerable<AssociationChange> changes)
Parameters
Type Name Description
System.String eventName

Name of the event.

System.Collections.Generic.IEnumerable<AssociationChange> changes

Describes what changes are made to associations.

Properties

Changes

Describes what changes are made to associations.

Declaration
public IEnumerable<AssociationChange> Changes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<AssociationChange>
Remarks

This is only used in the AssociationUpdated event when the changes are commited. In the AssociationUpdated event this collection will be empty.