Class NodeEventArgs
Implements operations for the node event arguments.
Inheritance
System.Object
NodeEventArgs
Inherited Members
Namespace: Mediachase.Commerce.Catalog.Events
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public class NodeEventArgs : CatalogSystemEventArgs
Constructors
NodeEventArgs(String, IEnumerable<NodeChange>, Boolean)
Initializes a new instance of the NodeEventArgs class.
Declaration
public NodeEventArgs(string eventName, IEnumerable<NodeChange> changes, bool hasChangedParent)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventName | Name of the event. |
System.Collections.Generic.IEnumerable<NodeChange> | changes | Describes what changes are made to catalog nodes. |
System.Boolean | hasChangedParent |
|
Properties
Changes
Describes what changes are made to catalog nodes.
Declaration
public IEnumerable<NodeChange> Changes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<NodeChange> |
Remarks
This is only used in the NodeUpdated event when the changes are commited. In the NodeUpdating event this collection will be empty.
HasChangedParent
Gets or sets flag to indicate if one or more node has changed parent.
Declaration
public bool HasChangedParent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |