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 NodeEventArgs

Implements operations for the node event arguments.

Inheritance
System.Object
NodeEventArgs
Namespace: Mediachase.Commerce.Catalog.Events
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
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

true if one or more parent node id was changed, false otherwise.

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