Class RelationEventArgs
Implements operations for the relation event arguments.
Inheritance
Inherited Members
Namespace: Mediachase.Commerce.Catalog.Events
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class RelationEventArgs : CatalogEventArgs
Constructors
RelationEventArgs(String)
Initializes a new instance of the RelationEventArgs class.
Declaration
[Obsolete("Use an other constructor. Will remain at least until October 2018.")]
public RelationEventArgs(string eventName)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventName | Name of the event. |
RelationEventArgs(String, IEnumerable<NodeRelationChange>, IEnumerable<NodeEntryRelationChange>, IEnumerable<EntryRelationChange>)
Initializes a new instance of the RelationEventArgs class.
Declaration
public RelationEventArgs(string eventName, IEnumerable<NodeRelationChange> nodeRelationChanges, IEnumerable<NodeEntryRelationChange> nodeEntryRelationChanges, IEnumerable<EntryRelationChange> entryRelationChanges)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventName | Name of the event. |
System.Collections.Generic.IEnumerable<NodeRelationChange> | nodeRelationChanges | Describes what changes are made to node relations. |
System.Collections.Generic.IEnumerable<NodeEntryRelationChange> | nodeEntryRelationChanges | Describes what changes are made to node-entry relations. |
System.Collections.Generic.IEnumerable<EntryRelationChange> | entryRelationChanges | Describes what changes are made to entry relations. |
Properties
EntryRelationChanges
Describes what changes are made to entry relations.
Declaration
public IEnumerable<EntryRelationChange> EntryRelationChanges { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EntryRelationChange> |
Remarks
This is only used in the RelationUpdated event when the changes are commited. In the RelationUpdating event this collection will be empty.
NodeEntryRelationChanges
Describes what changes are made to node-entry relations.
Declaration
public IEnumerable<NodeEntryRelationChange> NodeEntryRelationChanges { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<NodeEntryRelationChange> |
Remarks
This is only used in the RelationUpdated event when the changes are commited. In the RelationUpdating event this collection will be empty.
NodeRelationChanges
Describes what changes are made to node relations.
Declaration
public IEnumerable<NodeRelationChange> NodeRelationChanges { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<NodeRelationChange> |
Remarks
This is only used in the RelationUpdated event when the changes are commited. In the RelationUpdating event this collection will be empty.