Class MoveContentEventArgs
Event arguments passed from IContentRepository for content move related events.
Inherited Members
Namespace: EPiServer
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class MoveContentEventArgs : ContentEventArgs
Constructors
MoveContentEventArgs(ContentReference, ContentReference)
Initializes a new instance of the MoveContentEventArgs class.
Declaration
public MoveContentEventArgs(ContentReference contentLink, ContentReference destinationLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The page link. |
ContentReference | destinationLink | The destination link. |
Properties
Descendents
Gets or sets a list of references to any descendents that will also be affected by the move operation.
Declaration
public IEnumerable<ContentReference> Descendents { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ContentReference> |
OriginalContentLink
Gets the original (before move) reference for the Content that is being moved.
Declaration
public ContentReference OriginalContentLink { get; }
Property Value
Type | Description |
---|---|
ContentReference | The previous content reference. |
Remarks
In most cases is OriginalContentLink and ContentLink equal. The exception is when a content item is moved between content providers. Then in MovedContent will OriginalContentLink be the reference to the content it had before the move operation while ContentLink will be the new reference after the move operation.
OriginalParent
Gets or sets the original (before move) parent for ContentLink
Declaration
public ContentReference OriginalParent { get; set; }
Property Value
Type | Description |
---|---|
ContentReference | The previous parent. |