SaaS CMS has officially launched! Learn more now.

Class AssociationEventArgs

Represents the arguments of an association event.

Inheritance
System.Object
System.EventArgs
AssociationEventArgs
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: 11.8.3
Syntax
public class AssociationEventArgs : CatalogSystemEventArgs

Constructors

AssociationEventArgs(String)

Initializes a new instance of the AssociationEventArgs class.

Declaration
[Obsolete("Use an other constructor. Will remain at least until October 2018.")]
public AssociationEventArgs(string eventName)
Parameters
Type Name Description
System.String eventName

Name of the event.

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.